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

What is the difference between equals() and == in c#?

572


Describe the application event handlers in ASP.NET?

550


In which situation can you not use a viewstate?

538


What parameters can you pass in the url of the api?

663


What is the difference between page directive include and action tag include?

530






Are cookies client side or server side?

498


is there any third party tools are using in .net technologies? what are there ? give me the brief introduction?

1953


What is session and application variable in asp net?

462


Describe the Server Control Events of ASP.NET?

661


How can you identify that the page is post back?

558


code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications

1413


In which event of the page viewstate is available?

470


Explain http handlers? Where we can use the http handlers?

692


What asp.net control can embed xaml into asp.net pages?

543


COM+ Used ________________ Isolation Level

1529