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

ASP.NET

 
AnswerRe: TextBox Multiline Mode is not working in Content Placeholder ****** Pin
ShruthiLavan28-Oct-07 20:00
ShruthiLavan28-Oct-07 20:00 
GeneralRe: TextBox Multiline Mode is not working in Content Placeholder ****** Pin
Thavika31-Oct-07 18:16
Thavika31-Oct-07 18:16 
Questionpayment gateway Pin
ajau28-Oct-07 19:10
ajau28-Oct-07 19:10 
AnswerRe: payment gateway Pin
N a v a n e e t h28-Oct-07 19:23
N a v a n e e t h28-Oct-07 19:23 
AnswerRe: payment gateway Pin
John-ph28-Oct-07 20:24
John-ph28-Oct-07 20:24 
QuestionAuthentication and Autherisation Pin
julius.masilamani28-Oct-07 18:51
julius.masilamani28-Oct-07 18:51 
AnswerRe: Authentication and Autherisation Pin
Sumit Prakash Sharma28-Oct-07 19:15
professionalSumit Prakash Sharma28-Oct-07 19:15 
QuestionEvent not firing Pin
Kasic Slobodan28-Oct-07 10:32
Kasic Slobodan28-Oct-07 10:32 
I have a UC for editing users (EditUsers.ascx).
The data is loaded into EditUsers.ascx with (plain) AJAX.

EdiUsers.ascx consists of editing form, close btn and submit button (Save)...

Because I have three different types of users (with small differences between them), I have copied (to save time) the code from one UC to another and set it to be special to that type of users.

I have created (double click) event handler for Save button:

<asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />


And in code behind:

protected void btnSave_Click(object sender, EventArgs e)
{
    // Call the save function....
}


And this doesn't seem to work...
I submit a form and nothing happens, no save function call.


I also tried this:

protected override void OnInit(EventArgs e)
{
    btnSave.Click += new EventHandler(btnSave_Click);

    //base.OnInit(e);
}



protected void btnSave_Click(object sender, EventArgs e)
{
    // Call the save function....
}


And this doesn't work either.


Can anyone tell me what is the problem and am I missing something?
AnswerRe: Event not firing Pin
reza toorani28-Oct-07 10:41
reza toorani28-Oct-07 10:41 
GeneralRe: Event not firing Pin
Kasic Slobodan29-Oct-07 1:15
Kasic Slobodan29-Oct-07 1:15 
GeneralRe: Event not firing Pin
Kasic Slobodan30-Oct-07 1:56
Kasic Slobodan30-Oct-07 1:56 
QuestionUrlFriendly Pin
reza toorani28-Oct-07 6:57
reza toorani28-Oct-07 6:57 
AnswerRe: UrlFriendly Pin
Guffa28-Oct-07 9:55
Guffa28-Oct-07 9:55 
GeneralRe: UrlFriendly Pin
reza toorani28-Oct-07 10:30
reza toorani28-Oct-07 10:30 
QuestionMessage Board Pin
ramakant_135228-Oct-07 4:48
ramakant_135228-Oct-07 4:48 
AnswerRe: Message Board Pin
Saksida Bojan28-Oct-07 5:29
Saksida Bojan28-Oct-07 5:29 
Questionmaking activeX control Pin
samy10028-Oct-07 4:39
samy10028-Oct-07 4:39 
QuestionASP.NET on Windows with MySQL Back End on Linux OS Pin
kipchirchir27-Oct-07 23:12
kipchirchir27-Oct-07 23:12 
AnswerRe: ASP.NET on Windows with MySQL Back End on Linux OS Pin
Christian Graus27-Oct-07 23:23
protectorChristian Graus27-Oct-07 23:23 
AnswerRe: ASP.NET on Windows with MySQL Back End on Linux OS Pin
Saksida Bojan28-Oct-07 5:20
Saksida Bojan28-Oct-07 5:20 
GeneralRe: ASP.NET on Windows with MySQL Back End on Linux OS Pin
kipchirchir28-Oct-07 6:37
kipchirchir28-Oct-07 6:37 
GeneralRe: ASP.NET on Windows with MySQL Back End on Linux OS Pin
Saksida Bojan28-Oct-07 6:46
Saksida Bojan28-Oct-07 6:46 
GeneralRe: ASP.NET on Windows with MySQL Back End on Linux OS Pin
kipchirchir28-Oct-07 11:19
kipchirchir28-Oct-07 11:19 
QuestionRetiving Application Virtual path in ASP [modified] Pin
clife53727-Oct-07 20:10
clife53727-Oct-07 20:10 
AnswerRe: Retiving Application Virtual path in ASP Pin
Anurag Gandhi28-Oct-07 18:49
professionalAnurag Gandhi28-Oct-07 18: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.