Hello,
I am working on a RadDataFilter that looks like the following:
My problem is, the comparison drop down list is always empty. I'm referring to the list that says "Is equal to", "Is not equal to", etc. My question is, why is the list empty? Also, is there a way to specify which of the items in the list are available?
Thank you!
I am working on a RadDataFilter that looks like the following:
<
templates:RuleEditorTemplateSelector
x:Key
=
"myEditorTemplate"
>
<
templates:RuleEditorTemplateSelector.EditorTemplateRules
>
<
templates:RuleEditorTemplateRule
PropertyName
=
"Priority"
DataTemplate
=
"{StaticResource priorityTemplate}"
/>
<
templates:RuleEditorTemplateRule
PropertyName
=
"Location"
DataTemplate
=
"{StaticResource locationTemplate}"
/>
<
templates:RuleEditorTemplateRule
PropertyName
=
"TypeName"
DataTemplate
=
"{StaticResource typeTemplate}"
/>
</
templates:RuleEditorTemplateSelector.EditorTemplateRules
>
</
templates:RuleEditorTemplateSelector
>
..
<
telerik:RadDataFilter
x:Name
=
"myFilter"
Source
=
"{Binding Path=Items}"
AutoGenerateItemPropertyDefinitions
=
"False"
EditorTemplateSelector
=
"{StaticResource myEditorTemplate}"
>
<
telerik:RadDataFilter.ItemPropertyDefinitions
>
<
dataFilter:ItemPropertyDefinition
PropertyName
=
"Priority"
PropertyType
=
"{Binding Int32}"
DisplayName
=
"Priority"
/>
<
dataFilter:ItemPropertyDefinition
PropertyName
=
"Location"
PropertyType
=
"{Binding}"
DisplayName
=
"Location"
/>
<
dataFilter:ItemPropertyDefinition
PropertyName
=
"TypeName"
PropertyType
=
"{Binding Int32}"
DisplayName
=
"Type"
/>
</
telerik:RadDataFilter.ItemPropertyDefinitions
>
</
telerik:RadDataFilter
>
My problem is, the comparison drop down list is always empty. I'm referring to the list that says "Is equal to", "Is not equal to", etc. My question is, why is the list empty? Also, is there a way to specify which of the items in the list are available?
Thank you!