maintain the state of a hidden html control.

G

George

Hi,
I have a usercontrol which handles the menu functions which is
included in the main form.My requirement is to pass a variable to the
server and maintain its state when I click an item in the menu.
I have a hidden htmlcontrol(runat="server") and i set a value to the
control thru a javascript.
Then submitted the form using "document.forms('frmMain').submit();".
I am not able to get the value of hiddenhtml control in the server.Is
there any way to get around this?

thanks
anthru
 
S

Saravana

You can get the value of the hidden field in the server side using
request.params("<name of the hidden field>") or using request.forms("<name
of the hidden field>")
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top