Custom theme for grid and chart?

2 posts, 0 answers
  1. Maria
    Maria avatar
    11 posts
    Member since:
    Nov 2010

    Posted 16 Dec 2011 Link to this post

    Hello,

    can you please let me know what are the theme xaml files that need to be edited in order to get a custom look for

    (1) the filtering popup in the gridView (that allows you to select which values of a column you want to filter), and
    (2) the (horizontal) zoom/scroll bar in a chart

    I'm following the example here (http://www.telerik.com/help/silverlight/common-styling-apperance-themes-custom-theme-project-telerik-approach.html) and for the grid can get most of it to look like the custom colours that I want, but the filtering popup still seems to have a default look. I've tried the FilteringControl and DistrinctFilterControl files, but no success so far. Or is it that I need to set the theme for the filtering popup separately from setting the theme for the grid itself? (if so, can you please let me know where/how to set that).

    Thank you.

    Maria
  2. Sia
    Admin
    Sia avatar
    745 posts

    Posted 20 Dec 2011 Link to this post

    Hi Maria,

    Regarding your question about RadGridView indeed you should modify the FilteringControl.xaml, however I am not quite sure what might be the reason for this behavior. Would it be possible to send us a small runnable project with this theme as an attachment in a new support ticket? We may take a look at it and we would be able to provide you with an appropriate solution.  

    In order to get your chart styled properly, you need to edit the chart.xaml file in your custom theme. Please follow the instructions explained in this help topic. The element which represents the horizontal scroll bar is actually a customized RadSlider and the style which needs to be edited is:

    <Style x:Key="CustomSlider" TargetType="telerikControls:RadSlider">
    ...
    </Style>

    All the best, Sia
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top