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 |
What are client activated objects?
What is the usie of activex control in .net?
What are the disadvantages of viewstate/what are the benefits
Mention the execution process for managed code?
What is the difference between Codebehind="MyCode.aspx.cs" andSrc="MyCode.aspx.cs"?
Every Validation controls have same option ?
How many validators do ASP.NET have?
if u r projet consist of 4 people means how can u manage the file
What is the namespace used to store the information about the user?s locale?
What are sessions and cookies?
How many classes can a single .NET DLL contain?
What is bson in web api?
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)