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



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

Post New Answer

More ASP Interview Questions

Enter the roll number of a student and get his marks from a database file called MARKS. Use an ASP code for the same

0 Answers  


What is difference between server.transfer and response.redirect ?

2 Answers   CIStems Software, Effexoft, VebTel,


SAP Design Studio Reporting Tool for beginners

1 Answers   SAP Labs,


what is execute dataset for sp

0 Answers  


What are the advantages of using ASP?

1 Answers  






where should i get free version of Test Director to download

0 Answers  


How do in-process and cross-process communication work in the common language runtime?

0 Answers  


What is an err object?

0 Answers  


• How do you relate an aspx page with its code behind page?

1 Answers   3i Infotech,


what is the difference between render event and prerender event

2 Answers   Wipro,


Can we Use VB SCRIPT instead of JAVASCRIPT in Asp.Net...

0 Answers  


Why we need stored procedures?

0 Answers  


Categories