Filtered RadCheckedDropDownList and ShowCheckAllItems

1 Answer 6 Views
CheckedDropDownList
Sandor
Top achievements
Rank 1
Sandor asked on 29 May 2025, 09:56 AM | edited on 29 May 2025, 09:59 AM

Hello,

When using the RadCheckedDropDownList control with the ShowCheckAllItems mode enabled, setting the Filter property correctly displays the items according to the filter. However, when pressing 'Check all', the CheckedItems collection still contains all items, not just the ones currently visible based on the active filter.

How can I use these two features together correctly?

Thank you.

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 29 May 2025, 12:31 PM

Hello Sandor,

Thank you for your interest in our RadCheckedDropDownList control for WinForms.

To double-check your scenario, I have created a sample project. When a filter is applied and the CheckAll option is selected, it will select only the filtered items, not all items in the data source.

In the above image, you can observe that the RadListView on the right contains the selected items in the drop-down list. May I ask you to check the attached project and let me know if I am missing something from your implementation.

As a side note, I notice that if CheckAll option is selected and the form is closed, an exception will be thrown. This is because the Filter functionality will be triggered and will try to filter the items while the control is disposed. I will forward this to our development team for further investigation. In the meantime, you can clear the Filter property when the Form is closing (Closing event). This is also demonstrated in the project.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Sandor
Top achievements
Rank 1
commented on 29 May 2025, 12:51 PM

Ahh, thank you! It was my mistake.  I overlooked a condition in my code. After reviewing it based on the example you provided, I quickly found the problem. Thank you for the help.
Tags
CheckedDropDownList
Asked by
Sandor
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or