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

Explain the advantages of asp.net.

1042


Will the asp.net validators run in server side or client side?

1196


What is the base class from which web forms are inherited?

1061


Write code to send e-mail from an asp.net application?

1079


Mention the execution process for managed code?

1056


What is IPostBack? How to use it?

1152


Explain the differences between clr & cts?

1050


What is the difference between asp.net and mvc?

1169


What does asax stand for?

1054


What are the events that happen when a client requests an asp.net page from iis server?

1103


Which Is Faster MVC or ASP.net ?

1077


What is the usage of DelegatingHandler?

1143


Is asp net front end or backend?

1054


What is httpresponse?

1024


They mostly asked difference between versions of technologies

1472