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

DataFilter CheckBox Editor

1 Answer 58 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
WILLIAM
Top achievements
Rank 1
WILLIAM asked on 12 Jul 2012, 01:22 AM
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?

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 12 Jul 2012, 12:02 PM
Hello,

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

Greetings,
Didie
the Telerik team

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

Tags
DataFilter
Asked by
WILLIAM
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or