---
title: "Capture event id in page load"  
description: "Capture event id in page load"  
author: "Anonymous User"  
published: 2011-02-12  
updated: 2011-02-12  
canonical: https://www.mindstick.com/forum/164/capture-event-id-in-page-load  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 1 minute  

---

# Capture event id in page load

During pageload i would like [capture](https://answers.mindstick.com/qa/30907/which-phone-is-better-between-billion-capture-plus-and-xiaomi-mi-a1-and-moto-g5s-plus), which event is raised and its ID .e.g [button click](https://www.mindstick.com/forum/790/form-gets-submiited-twice-on-button-click) event , [textbox value](https://www.mindstick.com/forum/33830/how-to-calculate-data-grid-value-and-textbox-value-on-change-in-vb-dot-net-winform) [change event](https://www.mindstick.com/forum/12679/change-event-not-work-as-dynamic-as-expected). I have tried by using the below code in [page load](https://www.mindstick.com/articles/12909/how-to-open-first-time-popup-on-page-load-in-website) but always i [am getting](https://www.mindstick.com/forum/34179/i-am-getting-error-while-assigning-the-data-to-the-array-list) only blank value.kindly help me.\
\
**Dim lsTarget As [String](https://www.mindstick.com/articles/1527/string-split-in-c-sharp)****\**

```
 lsTarget = Request.Form("__EVENTTARGET").ToStringlsTarget = Request.Form("__EVENTARGS")
```


---

Original Source: https://www.mindstick.com/forum/164/capture-event-id-in-page-load

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
