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

Which method is used to enforce garbage collection in .net?

0 Answers  


Define a web service in .net?

0 Answers  


What are the main requirements for caching?

0 Answers  


How can we identify that the Page is Post Back?

0 Answers  


Define resource files.

0 Answers  






Explain how to prepare culture-specific formatting in .net.

0 Answers  


what is differences between bind and eval?

2 Answers  


what is generics?

2 Answers   Microsoft,


What is the difference between union and structure?

0 Answers  


what is roles in asp.net

2 Answers  


How could you modify xaml content from javascript?

0 Answers  


Define satellite assemblies.

0 Answers  


Categories