Checkbox returns wrong value when disabled

P

Paul

Hi

I have a checkbox which I am disabling in clientside code.

On postback, when I try to read the checked value of the
disabled checkbox the checkbox property always returns
false, even if the checkbox is checked. Surely it should
still be true.

Any ideas?

TIA Paul.
 
K

Kris van der Mast

It would be nice to view some code but you could try to put this in the
page_load:

if not page.ispostback then
checkboxtest.checked = false
end if

Grz, Kris.
 

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,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top