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
I want to connect a system in LAN and I want to access that. Whenever I am moving a mouse in my desktop, the similar thing has to happen in another system in which I have connected. I need coding for this in C# and ASP.NET Can anyone please help me. It is very urgent. Thanks in advance. My email id is manojkumarchallagundla@gmail.com Will you please?
Can we use MSSql as backend in asp.net...if yes then How.?
Explain the difference between value type and reference type?
In which event of page cycle is the viewstate available?
Which is better union or union all?
What are the asp.net server side objects?
what is AutoEventWireUp and what is the use of This property explain in details?
Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?
Is razor a programming language?
Explain the difference between sql invalidation and sql notification.
What are query strings used for?
Securitywise What are the Enhancements in 2.0?
What is a viewbag?
Where session variables are stored?
What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC