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

Name some of the ASP components?

3 Answers  


What are private assemblies?

0 Answers  


What are the methods by which output stream is controlled?

1 Answers  


What is a FileSystemObject object?

1 Answers  


Tell me about Dictionary Object?

2 Answers  






What is msmq?

0 Answers  


What is a request body?

0 Answers  


What are the methods in Session Object?

1 Answers   BirlaSoft,


What is the difference between client-side script and server-side script?

4 Answers  


What is the common language specification (cls)?

0 Answers  


How to convert a string into an integer in .net?

0 Answers  


What are the tasks performed by <> tags?

0 Answers  


Categories