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 the properties of the eventargs argument when capturing keyboard events?
Explain the main function of razor in asp.net? : asp.net mvc
Contrast OOP and SOA. What are tenets of each ?
What is the mvc framework?
Explain ViewState?
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
Explain what the contents of cookie?
What is server redirect?
What is a web pool?
Is it possible to apply themes to an asp.net application? If yes, then how?
Explain about asp.net caching?
Explain how can we inherit a static member?
What is cache in asp net?
What does postback mean?
Which class is used to send an email message from an ASP.NET Web page?