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
What is the difference between adding reference in solution explorer and adding references by using ?
Describe a bubbled event and how it is used ?
Web API supports which protocol?
What is the extension of master page in asp.net?
What are the major built-in objects in ASP.NET?
What is http protocol and how it works?
What is state management in asp.net with example?
What is asp.net and how it works?
What is base class of button control in .net?
What is the part of url?
Which is better session or viewstate?
If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?
What are sharepoint pages?
What is Web API Routing?
Explain about Application and Session Events ?