Retrieve value from hidden/disabled DropDownList?

C

Cipher

I've got a DropDownList control on my ASP.Net page and I cannot retrieve
it's value (via its SelectedValue property) if the control is hidden or
disabled. Once I set the control to visible and enabled then the currently
selected value is available in code.

Any ideas how I can hide or disable a DropDownList but still retrieve its
value as I don't want the users to be able to directly change its value.

Thanks in advance.
 

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,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top