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?
Answer Posted / richard des jardins
I'm not real sure where you are trying to get this
information. Lets say you have two buttons whose
OnClick="MyButtonClick". The void MyButtonClick(Object
sender,EventArgs e) exposes the Button Object with the
sender reference. Cast the sender to a button and do what
ever you want with it.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is mvc better than asp.net?
How do active server pages work?
Explain the difference between debug.write and trace.write?
Is there any property names “isnavigating”?
Describe how passport authentication works.
To add a hyperlink column to the DataGrid which tag is used ?
What is asp net objects?
When does a session actually start?
What is an example of an application service provider?
How can we make sure that Web API returns JSON data only?
What is asp.net caching?
Which is an advantage of application service providers?
What are themes and skins in 2.0, explain usage scenario?
Where session id is stored?
What does asp.net stand for?