if i have placed the button control with the OnClick event
like <asp:Button ID="mybutton" runat="server" Text="Insert"
onclick="mybutton_Click" /> and some other controls(buttons,
textboxes) in .aspx page. When i run the page, the button
displays in the page source of the browser like <input
type="submit" name="mybutton" value="Insert" id="mybutton"
/> here, it does not display the onclick event, then how the
page calls the button click on the server side, how the
server side identify which button cause the submit, and how
this page moves to the server side.
Answer Posted / karthi
Clicked Button event is binded through view-state. Which is
in encrypted format in the name of attribute(_viewstate) in
the browser page source
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Diff between web user control and web custom control?
How do I send an email message from my ASP.NET page?
Is asp.net a language?
What is a windows service?
Is a dll file an executable?
What is difference between asp.net and asp.net mvc? : Asp.Net MVC
What is considered a service provider?
Can we store object in viewstate?
What are custom controls?
What is _dopostback in asp net?
What are directives in asp.net? List down all the important directives.
Why is global asax is used for?
What does the orientation property do in a menu control?
What is the latest version of asp.net?
Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?