how can i create style for filter box ?

7 posts, 0 answers
  1. Ravi
    Ravi avatar
    97 posts
    Member since:
    Jun 2012

    Posted 27 Jun 2012 Link to this post

    Hi,

    i have a requirement to change the style of filtercontrol which will display on RadGridView's column header.

    Can you please guide me to create style for filter control.
    please check the attached image for better understand.


    Thanks in advance.

  2. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1218 posts

    Posted 27 Jun 2012 Link to this post

    Hi Srinivas,

    Here is a detailed article about the template structure of FilteringControl and all the other significant visual elements of RadGridView. In order to customize its template, you should extract its default template with expression Blend, apply your changes and propagate the new template through a style. You can use GridViewBoundColumnBase's FilteringControlStyle property to set the style to a particular column. On the other hand, if you are using our new implicit-styling mechanism, you can find the template in the merged XAML resource dictionaries and apply the changes there, without the need of any additional effort.

    All the best,
    Ivan Ivanov
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. Ravi
    Ravi avatar
    97 posts
    Member since:
    Jun 2012

    Posted 27 Jun 2012 Link to this post

    Hi Ivan Ivanov ,
    Thanks for reply,..

    I have looked in the structure but no where i can see the Filter control, can you please tell me the exact location or in which style this template is reside ??
    I have looked at "FilteringControl" in the artticle which you have mentioned a link in first reply, but i am not able to see that structure in my project, can you give me details ?

    Thanks once again.
  4. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1218 posts

    Posted 27 Jun 2012 Link to this post

    Hello Srinivas,

    Would you please confirm whether you are using the old StyleManager theming mechanism, or the alternative implicit-styles-based one, so that we would be able to prepare a sample project for you?

    All the best,
    Ivan Ivanov
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  5. Ravi
    Ravi avatar
    97 posts
    Member since:
    Jun 2012

    Posted 27 Jun 2012 Link to this post

    Hi Ivan Ivanov,

    Thanks for your precious help.
    we are using implicit-styles-based one.

    Thanks again,
  6. Ivan Ivanov
    Admin
    Ivan Ivanov avatar
    1218 posts

    Posted 03 Jul 2012 Link to this post

    Hello Srinivas,

    Please excuse me for the delayed answer. For your convenience, I have marked the XAML parts that you need to change with comment lines. Please, refer to the attached project.

    Regards,
    Ivan Ivanov
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  7. Ravi
    Ravi avatar
    97 posts
    Member since:
    Jun 2012

    Posted 03 Jul 2012 Link to this post

    Hi Ivan Ivanov ,

    Thanks for precious reply and for spending your time for me.
    I will check this.

    Regards
    Srinivas
Back to Top