Describe how a browser-based Form POST becomes a Server-Side
event like Button1_OnClick
Answer / 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 |
Enter the roll number of a student and get his marks from a database file called MARKS. Use an ASP code for the same
What is difference between server.transfer and response.redirect ?
2 Answers CIStems Software, Effexoft, VebTel,
SAP Design Studio Reporting Tool for beginners
what is execute dataset for sp
What are the advantages of using ASP?
where should i get free version of Test Director to download
How do in-process and cross-process communication work in the common language runtime?
What is an err object?
• How do you relate an aspx page with its code behind page?
what is the difference between render event and prerender event
Can we Use VB SCRIPT instead of JAVASCRIPT in Asp.Net...
Why we need stored procedures?