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

Will the asp.net validators run in server side or client side? How do you do client-side validation in .net?

0 Answers  


Briefly describe the role of global.asax?

0 Answers  


What event handlers can I include in Global.asax ?

1 Answers  


Features in ASP.NET?

2 Answers   Microsoft,


what is diffgram ?

3 Answers  


How we can set Different levels of Authentication in .Net? What are the difference between Windows Authenticatin, Passport Authentication and Form Authentication?

1 Answers  


what are the application layers for a distribute application?

0 Answers   Mind Tree,


About CLS and CTS?

8 Answers   Microsoft, Syncfusion,


What is state management in asp.net with example?

0 Answers  


What is dataset ?

18 Answers   Infosys, Kuwait University,


what is the differance between native code & managed code?

5 Answers   Microsoft,


what is COM Object in Dot net?

6 Answers   CTS,


Categories