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 are assemblies and namespaces and explain the difference between them ?
Explain the updatepanel?
What is synchronous and Asynchronous post back ?
What is difference between mvc and asp.net? : Asp.Net MVC
How many types of state management are there in asp net?
Explain the features that make asp.net more used framework? : asp.net mvc
Do you know using sql cache invalidation?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?
What is the advantage of mvc over asp.net? : Asp.Net MVC
What are validator? How do you disable them?
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
What are the asp.net 2.0 features?
What is the use of session state and application state and difference between them?
Explain the use of dataadapter.
What is meant by asp.net?