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

Linking FilteringControl directly to RadGridView

1 Answer 47 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Srinivas
Top achievements
Rank 1
Srinivas asked on 02 Apr 2015, 09:34 AM
Hi,

I was using a style for FilteringControl

<Style TargetType="telerik:FilteringControl" x:Key="FilteringControlStyle">
            <Setter Property="Template" Value="{StaticResource FilteringControlTemplate1}" />
        </Style>

This only can be accessed at GridViewDataColumn level but I have data coming dynamically.
So I'll have to use it at RadGridView level. Is there any way?

Regards,
Srinivas M

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 03 Apr 2015, 12:41 PM
Hi Srinivas,

You can remove the x:Key and that way the Style will be applied to all elements of type FilteringControl.

Regards,
Dimitrina
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
GridView
Asked by
Srinivas
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or