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?
    or
    How to make Item List to show same indentation those with checkbox and without checkbox?



    Thanks and best regards
  2. Answer
    Shinu
    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.
    aspx:
    <telerik:RadListBox ID="RadListBox1" runat="server" CheckBoxes="true">
      <Items>
          <telerik:RadListBoxItem Text="abc0"  Enabled="false" />
            .  .  .  .
      </Items>
    </telerik:RadListBox>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top