How to manage Checkbox in RadListBox? Make it visible but Disable to check.

2 posts, 1 answers
  1. Naunton
    Naunton avatar
    70 posts
    Member since:
    Jun 2010

    Posted 16 Aug 2011 Link to this post

    Hi all,

    Please kindly advise
    I want some item to unable to check, so I set checkable=false to a particular item at ItemDataBound event.
    This cause Checkbox invisible and Item list indentation are not same, as show in below.

    How to make checkbox visible but enable to check?
    How to make Item List to show same indentation those with checkbox and without checkbox?

    Thanks and best regards
  2. Answer
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 16 Aug 2011 Link to this post

    Hello HsiKao,

    Try setting the Enabled property to False.
    <telerik:RadListBox ID="RadListBox1" runat="server" CheckBoxes="true">
          <telerik:RadListBoxItem Text="abc0"  Enabled="false" />
            .  .  .  .

Back to Top