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 is viewstate parameter?
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?
What are the page life cycle events?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
Is LINQ performance wise better or using sqlcommand?
please give a brief knowledge about these events ? page_render() page_prerender() page_unload page_loadcomplete page_preinit
What are the action filters available in asp.net mvc
What is the asp.net control toolkit?
What is cas?
How can you execute stored procedure from windows application?
WHAT IS polymorphism
How many types of controls are there in asp.net?
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)