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

Define common type system?

986


How many types of cookies are available in asp?

1061


What is web api and why to use it?

1065


Explain how can you debug your .net application?

934


How long does an http session last?

940


What are Session states available and its Uses?

2218


Where is the view state data stored in asp net?

1020


Explain the difference between singleton and single call?

987


Define a static class?

978


How to fetch a data from one table to another table in asp.net ?

1044


How do we assign page-specific attributes?

1139


Who generates session id?

942


What is redirecting behavior?

966


What is a 307 redirect?

905


Tell me the code snippet to show how we can return 404 errors from HttpError?

1281