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 the viewstate in asp.net?
what is webservices. howit is use in our project .
What are sharepoint pages?
Interface and Abstract class, inheritance, abstraction with examples. Polymorphism (difference betn overloading and overriding
How do you specify whether your data should be passed as Query string and Forms (Mainly about POST and GET)
What are the different session state management options available in asp.net?
which type of data u send through request.querystring()?and tell abt exact size?
What is the page life cycle in asp.net?
after which page life cycle event all properties of control will be "fully loaded "
How do you install windows service?
Do session use cookies in asp net?
Whats the use of @ Register directives ?