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


Please Help Members By Posting Answers For Below Questions

What are directives in asp.net? List down all the important directives.

507


Why do we use datasource in asp.net?

525


Explain weak typing and strong typing.

565


What does mvc represent in asp.net? : asp.net mvc

528


List the types of authentication supported by asp.net?

529






What are sql joins?

573


where can i gather the materials for MCP certification

4493


What is ViewState? What does the "EnableViewState" property do? Why would I want it on or off?

662


Which tool you have done?

1484


Define web.config in .net?

639


In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?

577


How many types of validation are there?

529


Is razor a programming language?

535


What are all the various Estimation Techniques available ?

659


They mostly asked difference between versions of technologies

958