Home > DeveloperSection > Forums > Capture event id in page load
Monaj Singh
Monaj Singh

Total Post:41

Posted on    February-12-2011 9:05 AM

 ASP.Net ASP.Net 

 0 Reply(s)
 1240  View(s)
Rate this:
During pageload i would like capture, which event is raised and its ID .e.g button click event , textbox value change event.  I have tried by using the below code in page load but always i am getting only blank value.kindly help me.

Dim lsTarget As String
lsTarget = Request.Form("__EVENTTARGET").ToString
lsTarget = Request.Form("__EVENTARGS")

Don't want to miss updates? Please click the below button!

Follow MindStick