views:

1211

answers:

1

I saw code like this: if (this.Request["__EVENTARGUMENT"] == "Flag") //DoSomthing...

Whats __EVENTARGUMENT means and is there some parameters like it to access?

+3  A: 

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

This article explains it in a bit more detail, as does this one.

Jon Skeet