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 / gaurav joshi,mohit jethva

i have two button btnadd and btnupdate
If (Array.IndexOf(Request.Form.AllKeys, btnadd.ClientID))
{
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?

1837


How would you get asp.net running in apache web servers?

619


What is advantage of asp.net?

632


Explain an object, class and method.

644


What is asp.net introduction?

624






How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?

634


Is asp.net mvc still used? : Asp.Net MVC

597


Explain the difference between sql invalidation and sql notification.

637


How does session work in asp net?

643


How we can force all the validation controls to run?

623


Describe session handling in a webfarm, how does it work and what are the limits?

674


How does cookies work in asp net?

617


What is autopost?

626


Explain the difference between overriding and overloading?

623


What is IPostBack? How to use it?

703