Posted 15 Aug 2011 Link to this post
Please take a look at this forum thread. Does the solution suggested there corresponds to your requirements ?
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
<
telerik:RadDataFilter
x:Name
=
"dataFilterSearchCriteria"
EditorTemplateSelector
"{StaticResource EditorTemplateSelector}"
AutoGenerateItemPropertyDefinitions
"False"
CanUserCreateCompositeFilters
Margin
"0,0,0,0"
Canvas.ZIndex
"1"
>
telerik:RadDataFilter.ItemPropertyDefinitions
my:ItemPropertyDefinition
DisplayName
"Franchise name selector"
PropertyName
"Name"
PropertyType
"{Binding Source={StaticResource types}, Path=String}"
/>
"Date From"
"DateFrom"
"{Binding Source={StaticResource types}, Path=DateTime}"
"Date To"
"DateTo"
</
var comboBox = ((RadDataFilter)e.TriggerSource).ChildrenOfType<
RadComboBox
>()
.Where(b => b.Name == "PART_SimpleFilterOperatorComboBox")
.FirstOrDefault();
if (comboBox != null)
{
comboBox.SelectedIndex = 0;
}
Posted 16 Aug 2011 Link to this post
var comboBox = ((RadDataFilter)e.TriggerSource).ChildrenOfType<RadComboBox>()
.Where(b => b.Name ==
"PART_SimpleFilterOperatorComboBox"
)
.LastOrDefault();
if
(comboBox !=
null
Posted 31 Aug 2011 Link to this post
Can you please answer the question that my colleague asked in your other thread first. Thank you.
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>