how to pass client side variable to asp.net?

B

Beffmans

HI

how to pass client side variable(javascript) to an asp.net webform? I
was thinking using an invisible asp:textbox control to store the value
in? any ideas?

thanks

Bert
 
M

Mark Rae

how to pass client side variable(javascript) to an asp.net webform? I
was thinking using an invisible asp:textbox control to store the value
in? any ideas?

That's one way. Or you could use a QueryString...
 
E

Eliyahu Goldin

<input type = hidden ...> is made specially for this. You need to specify
runat=server and an id.

Eliyahu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top