Hello Keith,
Thank you for writing.
Filtering the items or disabling some items does not depend on whether the
RadListDataItem has been added in the designer or at run-time.
Filtering can be set by using a predicate and its
Filter property or via a
FilterExpression, more information is available here:
http://docs.telerik.com/devtools/winforms/dropdown,-listcontrol-and-checkeddropdownlist/dropdownlist/filtering.html.
I am sending you attached an example project which I believe should get you going. In the sample, the items are filtered depending on the value of a
RadToggleSwitch control. I am also sending you a gif file showing the result on my end.
I hope this helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo Merdjanov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the
Telerik Feedback Portal and vote to affect the priority of the items