Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get Value of System.EventArgs

Status
Not open for further replies.

checkai

Programmer
Jan 17, 2003
1,629
US
I want the value that i send in code like this...

Code:
Page.GetPostBackEventReference(Me.Button1,"sdf")

Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

can i grab that "sdf"??

"...we both know I'm training to become a cagefighter...see what happens if you try 'n hit me..."
 
I may be wrong.. but from a stint with control creation I was under the impression that all that method does is return a string representing the "__dopostback(...)" handler for that control - it doesn't actually set anything. The second parameter just adds a value to the string it generates that represents the javascript client postback handler.

Also as a note, that method is deprecated in 2.0.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top