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 page.registerclientscriptblock and page.registerstartupscript?
What is difference between singleton and single call?
What is meant by asp.net?
What is difference between web config and global asax?
How can you apply a theme to your asp.net application?
Who can consume WebAPI?
Can we handle the error and redirect to some pages using web.config?
What are the types of validation in asp net?
What is asp.net and its advantages?
how to retrieve property settings from xml .config file.
How you can return View from ASP.NET Web API method?
What is difference between ispostback and autopostback in asp net?
What is the server of asp.net?
What is the difference between client-side and server-side validations in webpages?
What is the life-span of the items in the viewstate?