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 parameters can you pass in the url of the api? Can get and post use the same url?
what is the difference b/w .net 1.1 and 2.0 ?
what are the new server controls added in Asp.net 2.0?
What is the difference between <%#%> and <%=%>?
Which is better php or asp.net?
Which is the best institute for ASP.NET?
8 Answers ABC Infotech, Tech Mahindra,
What is the difference between HTTP-Post and HTTP-Get ?
What are the advantages and limitations of query string?
What is applicatio domain?
what is the cursor
WHAT IS OBJECT POOLING
if u r projet consist of 4 people means how can u manage the file