• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 283
  • Last Modified:

checklist boxes set to uneditable

Anyone knows of a way to set the checkboxes of a checkboxlist
to non-editable? Needed when value retreived from the db. We tick off the box that is associated with the value true and the rest of the boxes need to be set to uneditable.

Thanks.  
0
LuckyLucks
Asked:
LuckyLucks
  • 2
3 Solutions
 
nauman_ahmedCommented:
Did you try setting the readonly property?

-Nauman.
0
 
raterusCommented:
This is a fair warning about the CheckBoxList and RadioButtonList controls.  If you need to start to customize certain checkboxes, you will run out of options quickly.  I don't know who designed these controls, but they didn't do a very good job.  Try adding something as simple as an "onClick" javascript handler to a checkbox and you will see what I mean.
0
 
ayha1999Commented:
Hi,

try making

YouCheckBox.Enabled = False

ayha
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now