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

Explain about consistent programming model in the .NET framework?

778


How does session authentication work?

672


Define xmlreader class.

736


Explain the components of web form in asp.net

736


How do I use response redirect?

714






What's the use of response.output.write()?

971


What are sharepoint pages?

671


How does output caching work in ASP.NET?

667


What are the file extensions for razor views?

845


Define dll hell?

804


Can we use a static function with a non-static variable?

701


What are the Types of object in asp

812


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

756


What are the different validators in asp.net?

738


How many types of validation are there?

693