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
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 |
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 |
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 |
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 |
Features in ASP.NET ?
What is the purpose of each of the validation controls provided by ASP.NET?
can u debug application programatically? if yes how?
What is cached data phone?
What is routing in MVC?
Which object is used to encapsulate the state of the client and the browser in ASP.NET?
0 Answers Sans Pareil IT Services,
What is MSIL?
What role “#&&” plays in a querysting?
What is request and response in asp.net?
Can the validation be done in the server side? Or this can be done only in the Client side?
what is a .xap file? Explain with an example.
Which validator control you use if you need to make sure the values in two different controls matched?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)