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 / sen

Just write code on page load and ur getting a control name
which one u clicked

string ctrlname = Page.Request.Params["__EVENTTARGET"];

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is asp.net file?

724


What are the events in a page life cycle?

617


Are there resources online with tips on asp to asp.net conversions?

640


What is the usage of DelegatingHandler?

686


What is a ashx file?

650






Are xaml file compiled or built on runtime?

643


Explain asp.net web forms.

646


Why do we need Sessions?

666


Define a web service in .net?

717


How Session use Cookies in State Management?

690


Where is cookie used in asp.net?

660


What are client activated objects?

656


What is the difference between globalization and localization?

566


Is react a template engine?

598


Where is the view state data stored?

663