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?

Answers were Sorted based on User's Feedback



You have two buttons in web form and i clicked on one of the button, so how do i find which button..

Answer / sen

Just write code on page load and ur getting a control name
which one u clicked

string ctrlname = Page.Request.Params["__EVENTTARGET"];

Is This Answer Correct ?    0 Yes 2 No

You have two buttons in web form and i clicked on one of the button, so how do i find which button..

Answer / manjula

in page load,we get those data which is bind to that webform
previously,we cannot click any button in page load

Is This Answer Correct ?    0 Yes 2 No

You have two buttons in web form and i clicked on one of the button, so how do i find which button..

Answer / prahlad

for that purpose they give the option is the tooltip that is
the shows the button name when you put the curser on the
button and also they might wrote the name of the button name.

Is This Answer Correct ?    0 Yes 3 No

You have two buttons in web form and i clicked on one of the button, so how do i find which button..

Answer / mupnesh

by right click on the button. Property of the button will
display and on top the name of button display.

Is This Answer Correct ?    0 Yes 3 No

You have two buttons in web form and i clicked on one of the button, so how do i find which button..

Answer / savita

try 2 remember which button u had clicked. again select
that button, go its property window by just right click on
that button. n u get its name. which r unique.ok.

Is This Answer Correct ?    0 Yes 9 No

Post New Answer

More ASP.NET Interview Questions

What is difference between view state and session state?

0 Answers  


What is strong name and which tool is used for this ?

3 Answers   Patni,


Explain the disadvantages of viewstate?

0 Answers  


what is the Difference between Dim Object as object AND dim obj as myform?

1 Answers   Microsoft,


Describe the differences between the lifecycles of Windows services and Standard EXE?

0 Answers   Siebel,


What data types do the RangeValidator control support?

2 Answers  


What is the typical session identifier?

0 Answers  


How to merge 2 tables fields in DataTable in asp.net

6 Answers   Wipro,


How many languages are supported by .NET at present time?

0 Answers  


How can we update records in gridview?Is there any appropriate code for it?

0 Answers  


Is it true that a Web service must be written in .NET or not?

0 Answers   Siebel,


can we edit records from repeater control

2 Answers  


Categories