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
What is directive in asp net?
What does asp stand for in asp.net?
Which is faster viewbag or viewdata?
What does the orientation property do in a menu control?
What is the difference between equals() and == in c#?
Is session server side or client side?
Explain about secure socket layer?
what is silver light when will we use silver light,
Is it possible to migrate visual interdev design-time controls to asp.net?
What are html helpers in asp.net?
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
Explain the difference between response.redirect vs server.transfer
Is asp.net still used?
We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?
Contrast OOP and SOA. What are tenets of each ?