What's Page __EVENTARGUMENT?


Question

I saw code like this:

if (this.Request["__EVENTARGUMENT"] == "Flag")
   //DoSomthing...

What does __EVENTARGUMENT mean and are there some parameters like it to access?

1
13
3/25/2012 6:25:24 PM

Accepted Answer

It can be set by calls to __doPostBack in the JavaScript on the page.

This article explains it in a bit more detail.

20
10/7/2016 2:56:01 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon