This is a migrated thread and some comments may be shown as answers.
How to manage Checkbox in RadListBox? Make it visible but Disable to check.
1 Answer 65 Views
This is a migrated thread and some comments may be shown as answers.
Naunton
Top achievements
Rank 1
Naunton asked on 16 Aug 2011, 08:48 AM
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?
or
How to make Item List to show same indentation those with checkbox and without checkbox?



Thanks and best regards

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 1
answered on 16 Aug 2011, 12:46 PM
Hello HsiKao,

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

Thanks,
Shinu.
Asked by
Naunton
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or