DataFilter CheckBox Editor

2 posts, 0 answers
    WILLIAM avatar
    134 posts
    Member since:
    Jun 2012

    Posted 11 Jul 2012 Link to this post

    During the Editor_Created event...

    I check to see if the ItemPropertyDescription.PropertyType is typeof(bool).  At that point e.Editor is a System.Windows.Controls.CheckBox.  I set IsChecked = true, but when the filter descriptor is displayed, the checkbox is not checked.  I have added a checkbox outside of the datafilter and set it's IsChecked = true and it displays correctly.  

    How do you make the checkbox in the DataFilter control have IsChecked = true by default?
  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 12 Jul 2012 Link to this post


     Indeed you are right. Unfortunately the default value for the CheckBox cannot be changed.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top