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

Mention the namespace that is used to include .net data provider for sql server in .net code?

501


What are server objects?

517


Explain what is an abstract class?

552


Is asp.net core faster?

540


Explain the steps needed to be performed in order to create an animation in xaml?

551






Describe in brief .net framework and its components.

540


What are the different session state management options available in asp.net?

515


When was asp.net released?

566


What is the adavantage of using ASP.NET routing?

644


Describe the diffeerence between inline and code behind?

507


Describe the difference between inline and code behind - which is best in?

506


Disable browser cache for entire ASP.NET website?

661


How many web config files can be created for an application?

448


What is css in asp.net?

545


How does http session work?

518