Linking FilteringControl directly to RadGridView

2 posts, 0 answers
  1. Srinivas
    Srinivas avatar
    9 posts
    Member since:
    Sep 2014

    Posted 02 Apr 2015 Link to this post

    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
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 03 Apr 2015 Link to this post

    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.

     
Back to Top