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
Is asp the same as saas?
How do you open an asp file?
Can .net framework components be used from a com program?
What is an .asp file?
What is asp give its application?
How can we do validation of the fields in a project?
Explain how big is the char?
Explain how big is the data type int in .net?
What is the difference between the value-type variables and reference-type variables
Explain the differences between asp and asp.net and is asp.net backward compatible to asp?
What is the difference between jsp and asp?
Name the property which is on a combo box do you set with a column name, prior to setting the data source, to display data in the combo box?
How to add? tree view control in datagrid in asp.net using c#?
Name the methods in session object?
What is difference between aspx and ascx?