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
What is the maximum size of an array?
Explain how to refresh an asp page on a single click of a button?
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 add insert options in datagrid control in footer row.
I have written an assembly that I want to use in more than one application. Where do I deploy it?
How do I open aspx files on windows 10?
Define common language specification (cls)?
what is the default .net provider
What is a variable in asp?
Give the comment tags for the following?
how can we delete cookies by coding part . so pls help me
when we use ajax in.net
What are asp controls?
How to insert the records in a database table by using asp?
i learnt .net and would like to know if there is any institute in hyderabad that gives real time knowledge.i worked on testing and planning to move on to .net putting same amount of experience in .net.kindly suggest me the institute and other details.