how the event message is transmitted to the server from the browser for submit button

Posted by Karthime under ASP.NET on 4/10/2012 | Points: 10 | Views : 810 | Status : [Member] | Replies : 6
how the event message is transmitted to the server from the browser and the eventhandler is executed for submit type button

A.Karthi


Responses

Posted by: Sabarimahesh on: 4/10/2012 [Member] Bronze | Points: 25

Up
0
Down
Karthi

Refer these Links

http://msdn.microsoft.com/en-us/library/59t350k3%28v=vs.71%29.aspx

http://www.tutorialspoint.com/asp.net/asp.net_event_handling.htm

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 4/10/2012 [Member] Bronze | Points: 25

Up
0
Down
Karthi
http://blogs.msdn.com/b/deviations/archive/2008/11/27/event-handlers-returning-values.aspx

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 4/10/2012 [Member] Bronze | Points: 25

Up
0
Down
eventhandler is executed for submit type butt on
http://asp.net.bigresource.com/Button-Click-Handler-Not-Executing-X0NKws429.html

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthime on: 4/10/2012 [Member] Starter | Points: 25

Up
0
Down
hi, thank you for your reply, If the usesubmitbehavior is set to false for the button control, it will generate the _dopostback function in javascript in the browser pagesource and pass the eventtarget and event argument from this function to the server for raising the button click event, otherwise if the usesubmitbehavior is set to true the button input type become submit, here it does not have the eventargument, eventtarget parameter and the postback function, how does it pass the event information from the browser to the server

A.Karthi

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 4/10/2012 [Member] Bronze | Points: 25

Up
0
Down
please See the attachment
 Download source file

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 4/10/2012 [Member] Bronze | Points: 25

Up
0
Down
Sorry see this Attachment
 Download source file

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response