can any one tell me if there is a way to pass a string variable to a button click event? ultimately I am looking to fire client side Javascript "__doPostBack(' Button1','click ','')" and have the server-side button event retrieve the string I have set.
for example: in Javascript -
I have set this string variable --> '123456'
I call a do postback of the button click -->"__doPostBack( 'Button1','clic k','')"
then: in vb.net -
the button1_click event fires
what is the method for retrieving that variable '123456' from the Javascript code?
for example: in Javascript -
I have set this string variable --> '123456'
I call a do postback of the button click -->"__doPostBack( 'Button1','clic k','')"
then: in vb.net -
the button1_click event fires
what is the method for retrieving that variable '123456' from the Javascript code?
Comment