CheckBoxList and saving view state

T

Tommy Martin

I have a checkboxlist control on my page. I have to go through the items in
it and check a few on certain instances. That seems to work fine. I'm using
cbo.item(index).selected = true to check it however this does not cause it
to post back to the server so when something else happens on the page that
causes postback my checks get lost.

How can I have this saved in the view state?

Thanks in advance for any help.

Tommy
 
T

Tommy Martin

Upon further checking it seems the viewstate isn't saved if the controls are
disabled.

Is there a way around this?
 

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,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top