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 difference between or and orelse?
Will the asp.net validators run in server side or client side?
How many types of state management are there in asp net?
What are the namespace classes used in asp.net mvc? : asp.net mvc
Explain the page lifecycle of an asp.net mvc? : asp.net mvc
Can I read the hard disk serial # of the client computer using asp.net?
Differentiate strong typing and weak typing
Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?
What are the advantages and limitations of query string?
What do you mean by authorization?
what are the Custom controls in asp.net?
What is css in asp.net?
Explain the difference between authentication and authorization.
What is the differences between a primary key and a unique key in sql server?
What are the main requirements for caching?