This is a migrated thread and some comments may be shown as answers.

RadListView item checkbox disabling

1 Answer 178 Views
CheckedListBox
This is a migrated thread and some comments may be shown as answers.
Gleb
Top achievements
Rank 1
Gleb asked on 28 Oct 2011, 01:04 PM
I use RadListView with property ShowCheckBoxes = true.

1. Business logic requires me to disable CheckBox for certain item. How can i do that?
2. As alternative i would like to disable the whole item, not it's checkbox. I try to do that this way:
...
foreach (var item in lvListView.Items)
    item.Enabled = false;
...

This source does not work - after it all items are still selectable and their checkboxes are selectable too. 

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 01 Nov 2011, 11:32 AM
Hi Gleb,

We will be happy to address your latest questions. Before doing so, please reply to the license questions we have asked you in ticket "Custom ListViewVisualItem".

We will reply as soon as we receive your licensing information. Thank you for the cooperation.

Kind regards,
Ivan Todorov
the Telerik team

Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

Tags
CheckedListBox
Asked by
Gleb
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or