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



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

what is differance b/w .net assemblies and com component?

3 Answers  


What should be used in order to determine if the cookie "FavoriteFlavors" in the request object contains more than one entry? A. Request.Cookies("FavoriteFlavors").HasItems B. Request.Cookies("FavoriteFlavors").Collection.Count C. Request.Cookies("FavoriteFlavors").Dictionary D. Request.Cookies("FavoriteFlavors").HasKeys E. Request.Cookies("FavoriteFlavors").Count

1 Answers  


Define the asp scripting objects?

0 Answers  


define the functionality of web server in context to Active server page.

0 Answers  


Short note on creation of job site in ASP.

0 Answers  


What is the purpose of application.lock method?

0 Answers  


Why we need stored procedures?

0 Answers  


whate is @page(AspCompat) Directive in .net ?

2 Answers   TCS,


How do I convert an aspx file to pdf?

0 Answers  


What are the methods by which output stream is controlled?

1 Answers  


Which choice is NOT a property of Dictionary Object? A. Key() B. CompareMode C. Item () D. Exists () E. Count

1 Answers  


?onStart' and 'onEnd' are events of what object(s)? A. Application only. B. Session only. C. Server only. D. Application and Session only. E. Application, Session, and Server.

1 Answers  


Categories