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

how can i connect to ms-access database, with ASP??

0 Answers  


Define application object?

0 Answers  


IN THREE TIER AMONG THREE LAYERS WHICH ONE IS INDEPENDENT LAYER AND HOW?

0 Answers  


What are Constants? How will you declare a constant?

1 Answers  


what is meant by ajax

1 Answers  






Explain life cycle of asp page.

0 Answers  


What are shared assemblies?

0 Answers  


How can you change the primary scripting language for a page?

0 Answers  


What happens to a html page in asp?

0 Answers  


how to disable previous page complete after logout process

2 Answers   powercom,


What are the attributes of the tags?

0 Answers  


how we can establish the connectivity between front end and backend?(asp as front end and c# as back end)

0 Answers   Polycom,


Categories