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

How to store checkbox value in database in asp.net mvc? : Asp.Net MVC

702


What is enableviewstatemac in asp net?

777


How can you send an email message from an asp.net web page?

712


How to find out what version of asp.net I am using on my machine?

797


What are the features that make asp.net more used framework? : asp.net mvc

754


What is the difference between visual basic and asp.net?

738


What is the file through which you can customize your asp.net application?

762


Explain cookies with example.

757


How can you dynamically add user controls to a page?

700


What are triggers of an updatepanel?

721


Explain how can we inherit a static variable?

765


Which is better viewstate or session?

701


Why viewstate is used in asp.net?

737


Is asp.net a language?

708


What are early binding and late binding.

821