How to check whether ASP.NET button is clicked or not on page load

Jak
Jak
Member
352 Points
151 Posts

Hi,

How to check whether ASP.NET button is clicked or not on page load

Views: 8123
Total Answered: 1
Total Marked As Answer: 0
Posted On: 23-Mar-2015 23:25

Share:   fb twitter linkedin
Answers
Rahul Maurya
Rahul M...
Moderator
1170 Points
210 Posts
     

Hi Jak,

 

Dim eTarget As String
eTarget = Request.Params("__EVENTTARGET")

 

The UniqueID of the button will be in Request.Params["__EVENTTARGET"]

 

Posted On: 23-Mar-2015 11:19
banner

Blog

Active User (2)

 Log In to Chat