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
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
What is HTTPModule and HTTPcontext? What is the use of each?
What are session and cookies?
Explain difference betn dataset and recordset?
What is the difference between page-level caching and fragment caching?
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
Why viewstate is used in asp.net?
Differentiate between namespace and assembly.
What is the best Macanism to clear the Cache in asp.net
Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?
Apart from IDE what are the enhancements in asp.net 2.0?
What is full form of asp.net?
What are assemblies and namespaces and explain the difference between them ?
What is cookieless session id explain in brief?
What is the difference between session and application?