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

How you will manage the state of ASP.NET controls?

0 Answers   Sans Pareil IT Services,


Why is mvc better than asp.net?

0 Answers  


What is the difference between a candidate key and primary key?

0 Answers  


Name the application folders present in asp.net 2.0?

1 Answers  


what is an Eventbubbling?

3 Answers   DSS,






What is session handling in a webfarm, how it can work with its limits?

0 Answers   Siebel,


How cross page posting is done in Asp.net 2.0?

3 Answers  


What are the options in ASP.NET to maintain state?

0 Answers   CDC,


my name is sumeetha i am using google gears in .net.what's the problem is my server is in another place. i am working here when i entered the values in textboxes and press enter then it should store in database(sql server) which is in another system.when that sever system is shutdown then the values which i submit should store in my system and after system opened it should automatically store the values in the system can any one plz urgent suggest answer for this question?

2 Answers  


What are the types of session in asp.net?

0 Answers  


When we do partial refresh of a page using update panel how server knows it(which event occurs?)

2 Answers  


please give a brief knowledge about these events ? page_render() page_prerender() page_unload page_loadcomplete page_preinit

1 Answers   Netsweeper,


Categories