Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's Page __EVENTARGUMENT?

I saw code like this:

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

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

like image 946
Amr Elgarhy Avatar asked Mar 04 '09 16:03

Amr Elgarhy


1 Answers

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

This article explains it in a bit more detail.

like image 181
Jon Skeet Avatar answered Nov 04 '22 01:11

Jon Skeet