Click here to Skip to main content
15,906,574 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Insetring Live Streaming of TVs Pin
Blue_Boy21-Jul-11 2:52
Blue_Boy21-Jul-11 2:52 
QuestionProblem with GridView Column Count when databinding programmatically? Pin
kbalias21-Jul-11 0:34
kbalias21-Jul-11 0:34 
AnswerRe: Problem with GridView Column Count when databinding programmatically? Pin
Arun Jacob21-Jul-11 1:40
Arun Jacob21-Jul-11 1:40 
AnswerRe: Problem with GridView Column Count when databinding programmatically? Pin
Blue_Boy21-Jul-11 1:52
Blue_Boy21-Jul-11 1:52 
QuestionASP 3.0 Question: Chart and Graphs suggestion Pin
Jaiprakash M Bankolli21-Jul-11 0:12
Jaiprakash M Bankolli21-Jul-11 0:12 
AnswerRe: ASP 3.0 Question: Chart and Graphs suggestion Pin
Jaiprakash M Bankolli24-Jul-11 2:10
Jaiprakash M Bankolli24-Jul-11 2:10 
AnswerRe: ASP 3.0 Question: Chart and Graphs suggestion Pin
Anurag Gandhi24-Jul-11 21:28
professionalAnurag Gandhi24-Jul-11 21:28 
QuestionTrouble with UpdatePanel and OnClick event attribute Pin
Dominick Marciano20-Jul-11 9:54
professionalDominick Marciano20-Jul-11 9:54 
Below is some code for an update panel I'm using

<asp:LoginView ID="LoginView" runat="server">
                    <LoggedInTemplate>
                        <asp:LoginName ID="name" runat="server" />
                        <asp:UpdatePanel ID="LoginPanel" runat="server">
                            <ContentTemplate>
                                <asp:Label ID="lblClassCode" runat="server" Text="Class Code:" Font-Size="Smaller" Font-Bold="true" visible="false"/>
                                <asp:TextBox ID="txtClassCode" runat="server" Text="" Font-Size="Smaller" visible="false" />
                                <asp:Button ID="cmdClassCode" runat="server" Text="Enter" Font-Size="Smaller" OnClick="cmdClassCode_Click" visible="false" />
                                <asp:Literal ID="lblPrivateClassMessage" runat="server" Text="" Visible="false"/>
                                <asp:ImageButton ID="imgAddToCart" runat="server" OnClick="imgAddToCart_Click" ImageUrl="~/Images/AddToCart.png" Height="40px" Width="119px" Visible="false"/>
                            </ContentTemplate>
                            <Triggers>
                                <asp:AsyncPostBackTrigger ControlID="cmdClassCode" EventName="cmdClassCode_Clicked" />
                            </Triggers>
                        </asp:UpdatePanel>                    
                    </LoggedInTemplate>
                    <AnonymousTemplate>
                        <asp:Login ID="MemberLogin" runat="server"  
                        Font-Size="10px"
                        CreateUserText="Create a new user..."
                        CreateUserUrl="~/Members/Register.aspx"
                        PasswordRecoveryUrl="~/Members/RecoverPassword.aspx"
                        UserNameLabelText="E-mail address:" Height="104px"/>
                    </AnonymousTemplate>
                </asp:LoginView>


Now I had to use the OnClick attribute for the cmdClassCode control because it was in the LoginView. When I try to view this page I get the following error message:

Could not find an event named 'cmdClassCode_Clicked' on associated control 'cmdClassCode' for the trigger in UpdatePanel 'LoginPanel'.

I'm assuming this has something to do with the face that I'm using the OnClick attribute instead of a normal handle. Any suggestions on how to get the cmdClassCode button to trigger the update panel?

Thanks in advance.
QuestionRelated to GridView Pin
Gautam Vishwakarma20-Jul-11 5:10
Gautam Vishwakarma20-Jul-11 5:10 
AnswerRe: Related to GridView Pin
R. Giskard Reventlov20-Jul-11 6:58
R. Giskard Reventlov20-Jul-11 6:58 
AnswerRe: Related to GridView Pin
Prasanta_Prince20-Jul-11 19:47
Prasanta_Prince20-Jul-11 19:47 
Questionhow can i pass values by using post not get method? Pin
buffering8320-Jul-11 5:00
buffering8320-Jul-11 5:00 
Answersession variables Pin
David Mujica20-Jul-11 5:11
David Mujica20-Jul-11 5:11 
QuestionCode for Downloading from website problem Pin
kbalias19-Jul-11 23:22
kbalias19-Jul-11 23:22 
AnswerRe: Code for Downloading from website problem [modified] Pin
Viral Upadhyay20-Jul-11 1:50
Viral Upadhyay20-Jul-11 1:50 
AnswerRe: Code for Downloading from website problem Pin
Not Active20-Jul-11 2:07
mentorNot Active20-Jul-11 2:07 
AnswerRe: Code for Downloading from website problem Pin
Prasanta_Prince20-Jul-11 19:49
Prasanta_Prince20-Jul-11 19:49 
AnswerRe: Code for Downloading from website problem Pin
kbalias21-Jul-11 20:35
kbalias21-Jul-11 20:35 
Questionpublish asp.net-silverlight-WCF in local iis Pin
yesu prakash19-Jul-11 21:05
yesu prakash19-Jul-11 21:05 
AnswerRe: publish asp.net-silverlight-WCF in local iis Pin
Viral Upadhyay20-Jul-11 1:58
Viral Upadhyay20-Jul-11 1:58 
QuestionHow to get Gridview to respond to Select command on Blackberry Browser (Curve 8530) Pin
David Mujica19-Jul-11 4:58
David Mujica19-Jul-11 4:58 
SuggestionRe: How to get Gridview to respond to Select command on Blackberry Browser (Curve 8530) Pin
Anurag Gandhi19-Jul-11 20:40
professionalAnurag Gandhi19-Jul-11 20:40 
QuestionJquery code is not working in IE [modified] Pin
meghamaharshi19-Jul-11 1:16
meghamaharshi19-Jul-11 1:16 
AnswerRe: Jquery code is not working in IE Pin
Shameel19-Jul-11 4:49
professionalShameel19-Jul-11 4:49 
AnswerRe: Jquery code is not working in IE Pin
Not Active19-Jul-11 7:49
mentorNot Active19-Jul-11 7:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.