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

What are the different types of html?

529


Why asp is used?

494


Why we need stored procedures?

552


What are the attributes of the

tags?

509


What are the 3 types of internal controls?

478






can any one tell me about dot net framework not basic detail

1404


how can we bind the multiplication of two drop down lists?

1846


who is the best Trainer for ASP.NET MVC in Hyderabad?

1023


Explain how big is the char?

525


How could u display all of the cookies/cookie values for a user through a Web page in ASP?

1692


what is the difference between #include directory in C,C++ and import java.packages in java

1659


Explain the post and get method?

511


Explain how to refresh an asp page on a single click of a button?

460


What is the default scripting language in asp?

515


Should user input data validation occur server-side or client-side?

498