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.



if i have placed the button control with the OnClick event like <asp:Button ID="mybutton&qu..

Answer / 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

More ASP.NET Interview Questions

What is the use of view state?

0 Answers  


What is server side routing?

0 Answers  


What is viewstate in asp net with example?

0 Answers  


Features and disadvantages of dataset ?

4 Answers   Interlink, Microsoft,


How to find out what version of asp.net I am using on my machine?

0 Answers  






In which interface the template of any control like Gridview would Initiate?

2 Answers  


what are the security certificates used in webservices?

0 Answers  


What is web api vs wcf?

0 Answers  


How would you create a permanent cookie?

0 Answers  


Which is better php or asp.net?

0 Answers  


How can u handle Un Managed Code Exceptions in ASP.Net?

1 Answers   Lara Technology,


To bind columns manually which tags do you need to add within the asp:datagrid ?

0 Answers   Siebel,


Categories