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
Explain the advantages of asp.net.
Will the asp.net validators run in server side or client side?
What is the base class from which web forms are inherited?
Write code to send e-mail from an asp.net application?
Mention the execution process for managed code?
What is IPostBack? How to use it?
Explain the differences between clr & cts?
What is the difference between asp.net and mvc?
What does asax stand for?
What are the events that happen when a client requests an asp.net page from iis server?
Which Is Faster MVC or ASP.net ?
What is the usage of DelegatingHandler?
Is asp net front end or backend?
What is httpresponse?
They mostly asked difference between versions of technologies