checklist boxes set to uneditable

Posted on 2005-04-12
Last Modified: 2008-03-17
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.

Question by:LuckyLucks
    LVL 25

    Expert Comment

    Did you try setting the readonly property?

    LVL 25

    Assisted Solution

    LVL 33

    Accepted Solution

    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.
    LVL 7

    Assisted Solution


    try making

    YouCheckBox.Enabled = False


    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    This video discusses moving either the default database or any database to a new volume.
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now