Code behind read Java variable?

D

Dale

Hi All-

I have a Javascript routine that sets a variable. I need to pass the
variable to my C# code behind page (or bind it). Is this possible?

Thanks in advance,

Dale Lundgren
 
M

Mark Rae

I have a Javascript routine that sets a variable. I need to pass the
variable to my C# code behind page (or bind it). Is this possible?

Easiest way is to place the variable in a hidden textbox on your form so
that it gets submitted along with the rest of Request.Form during PostBack.
 

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,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top