Capture event id in page load

Total Post:41

 1936  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")