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
Differentiate globalization and localization.
What is the life-span of the items in the viewstate?
Why do we need master page in asp.net?
What is the best Macanism to clear the Cache in asp.net
How to register exception filter globally?
How can you access the properties and controls of master pages from content pages?
What is http only cookie?
Can you edit data in the Repeater control? Which template must you provide, in order to display data in a Repeater control? How can you provide an alternating color scheme in a Repeater control? What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
What is the difference between session object and application object?
What is difference between View State and Hidden Field in ASP.NET?
How will create assesblies at run time?
Do you know caching feature?
What are the advantages of asp.net mvc framework? : asp.net mvc
What is the use of execute non query in asp.net?
What are asp.net web forms?