Describe how a browser-based Form POST becomes a Server-Side
event like Button1_OnClick

Answer Posted / shubh dasgupta

As said by "Careed" in forums.asp.net..
An ASP.NET Button control in HTML is an HTML input element with a type attribute set to "submit". A submit button in HTML invokes a POST, using the action attribute from the form element, which, for ASP.NET, is the current page. Since this is a POST, the form variables are populated with all of the values from the input elements in the form element, including the value (name) of the submit button. When the POST arrives at the server and is parsed by ASP.NET, it will acknowledge that the POST was initiated by the submit button, which is turned into a Click event for the original ASP.NET Button control.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does asp differ from html?

664


Name the event handlers of application object?

693


How do you make it so that code runs when the security system is stopping it?

714


Distinguish functionalities of ASP in web design.

1576


What is the difference between the value-type variables and reference-type variables

658






What is the difference between asp and acp?

874


What is the difference between post and get method.

697


Can any body send me Some Interview Questions of ASP.Net 2.0 or Later to my mail id that is gauravscott@gmail.com

1571


What are the tasks performed by <> tags?

672


hello dear this quadir saif and im doing bca .i want hotel management project in asp.net (with backend sql).on my id (quadir2011@rediffmail.com)

2233


Is asp a programming language?

670


What is use of asp?

655


Is classic asp still supported?

710


What are asp controls?

674


How to convert a string into an integer in .net?

698