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...

You have two buttons in web form and i clicked on one of
the button, so how do i find which button i've clicked on
the form in my page load?

Answer Posted / richard des jardins

I'm not real sure where you are trying to get this
information. Lets say you have two buttons whose
OnClick="MyButtonClick". The void MyButtonClick(Object
sender,EventArgs e) exposes the Button Object with the
sender reference. Cast the sender to a button and do what
ever you want with it.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is mvc better than asp.net?

1000


How do active server pages work?

937


Explain the difference between debug.write and trace.write?

916


Is there any property names “isnavigating”?

982


Describe how passport authentication works.

1061


To add a hyperlink column to the DataGrid which tag is used ?

1030


What is asp net objects?

986


When does a session actually start?

982


What is an example of an application service provider?

818


How can we make sure that Web API returns JSON data only?

968


What is asp.net caching?

974


Which is an advantage of application service providers?

849


What are themes and skins in 2.0, explain usage scenario?

895


Where session id is stored?

931


What does asp.net stand for?

1051