Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Is asp the same as saas?

951


How do you open an asp file?

1022


Can .net framework components be used from a com program?

903


What is an .asp file?

1076


What is asp give its application?

1155


How can we do validation of the fields in a project?

1013


Explain how big is the char?

961


Explain how big is the data type int in .net?

934


What is the difference between the value-type variables and reference-type variables

963


Explain the differences between asp and asp.net and is asp.net backward compatible to asp?

963


What is the difference between jsp and asp?

986


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?

958


How to add? tree view control in datagrid in asp.net using c#?

2197


Name the methods in session object?

993


What is difference between aspx and ascx?

917