CAPTURE EVENT ID IN PAGE LOAD

Monaj Singh

Total Post:41

Points:287
Posted by  Monaj Singh
 1534  View(s)
Ratings:
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")

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!