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

Filter by checked items

3 Answers 109 Views
CheckedListBox
This is a migrated thread and some comments may be shown as answers.
Javier Gonzalez de Aragon
Top achievements
Rank 2
Javier Gonzalez de Aragon asked on 04 Sep 2013, 08:10 PM
Hi, is it possible to filter the items of a ListView by its CheckedState status?

Thanks,

Javier

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 09 Sep 2013, 12:03 PM
Hello Javier,

Thank you for writing.

The filtering functionality works only with the data bound object fields, hence you cannot filter the items according to their CheckState, unless the items have a field which corresponds to this state.

If you are using unbound mode, at the moment you decide to filter by checked items, you can simply get the CheckedItems in a separate list, clear the control and populate it with the items from the saved list. 

I hope that you find this information useful.
 

Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Javier Gonzalez de Aragon
Top achievements
Rank 2
answered on 09 Sep 2013, 03:34 PM
Thanks for the the reply. I created a column to store a boolean value that is updated according to CheckState and then filter by that column.

Javier
0
Stefan
Telerik team
answered on 12 Sep 2013, 11:15 AM
Hi,

I am glad to hear that you have this sorted. Let us know if you have any other questions.
 
Regards,
Stefan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
CheckedListBox
Asked by
Javier Gonzalez de Aragon
Top achievements
Rank 2
Answers by
Stefan
Telerik team
Javier Gonzalez de Aragon
Top achievements
Rank 2
Share this question
or