Hi,
I am using interaction.Behaviours to call a CustomFilter control. Which inturn uses FilteringCOntrol.
With trial version of telerik dlls, we were proceeding in the below format
Once we replaced the dlls with licensed version 2012
The FIlteringControl constructor is expecting a GridViewColumn as an argument
From the xaml part using interaction.Behaviour How can we pass the gridview column as an argument..
The ColumnFilterBehaviour is a Custom class we have created.
I am using interaction.Behaviours to call a CustomFilter control. Which inturn uses FilteringCOntrol.
With trial version of telerik dlls, we were proceeding in the below format
protected
override
void
OnAttached()
{
this
.customFilteringControl =
new
FilteringControl();
ApplyStyle();
this
.customFilteringControl.Loaded +=
this
.OnFilteringControlLoaded;
this
.customFilteringControl.LostFocus +=
new
RoutedEventHandler(customFilteringControl_LostFocus);
// Tell the column to use our new "custom" filtering control.
this
.AssociatedObject.FilteringControl = customFilteringControl;
}
Once we replaced the dlls with licensed version 2012
The FIlteringControl constructor is expecting a GridViewColumn as an argument
From the xaml part using interaction.Behaviour How can we pass the gridview column as an argument..
The ColumnFilterBehaviour is a Custom class we have created.
<telerik:GridViewDataColumn Header=
"Cycle Date"
UniqueName=
"cycle_date"
DataType=
"{Binding DateTime, Source={StaticResource Types}}"
DataMemberBinding=
"{Binding cycle_date,Converter={StaticResource dateValueConverter}}"
TextAlignment=
"Right"
>
<i:Interaction.Behaviors>
<PmaModel:ColumnFilterBehaviour ColumnName=
"cycle_date"
ColumnName1=
"cycle_date"
/>
</i:Interaction.Behaviors>