Filtering on specific columns / use of Simple Theme

4 posts, 0 answers
  1. Martin
    Martin  avatar
    13 posts
    Member since:
    Nov 2007

    Posted 02 Jul 2008 Link to this post

    Hi Telerik Team.

    Thanks for the filtering functionality in Beta 2

    2 questions

    1: is it possible to switch off filtering on a specific column. i haven't been able to find a property to set on the column only on the entire grid.?

    2: use of the Simple theme which is provided in your examples. I believe the easiest way to set the Theme property on the grid must be Telerik:Theming.Theme="Simple"
    but "Simple" is not part of the values to choose. I have added the Reference "Telerik.Windows.Controls.UI.Simple" to the project. but still its not able to set. what am i doing wrong.



  2. Hristo Deshev
    Admin
    Hristo Deshev avatar
    559 posts

    Posted 02 Jul 2008 Link to this post

    Hello Martin ,

    Straight to your questions:

    1. Not at the moment. We will be adding a column property to allow that for the final release though.
    2. The Simple theme is not yet supported by the type converter (the class that provides the default values) because it is defined in a separate assembly. To use it, you need to define an instance of the class in a resource dictionary and then use it. Here are the steps needed:
      1. Add the XML namespace:
        xmlns:Simple="clr-namespace:Telerik.Windows.Controls.UI.Simple;assembly=Telerik.Windows.Controls.UI.Simple"
      2. Define the SimpleTheme instance:
        <Simple:SimpleTheme x:Key="simpleTheme"></Simple:SimpleTheme>
      3. Set the theme to your RadGridViewControl:
        Telerik:Theming.Theme="{StaticResource simpleTheme}"
    I am wondering how we can make the type converter help by providing a default value in the intellisense suggestion list. The problem is that the Simple theme assembly may not be present in the project and there is no way to detect that. Maybe we can make things easier for customers by allowing you to specify a type name. That way you will be able to use something like:
    Telerik:Theming.Theme="{x:Type Simple:SimpleTheme}"

    Does this look better?

    Best wishes,
    Hristo Deshev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Martin
    Martin  avatar
    13 posts
    Member since:
    Nov 2007

    Posted 03 Jul 2008 Link to this post

    1. Sounds good with the support of turning filtering on and off for the specific columns im looking forward to the final release.

    2. I was able to switch to the Simple Theme and now it also looks like its supporting the Cotnroltemplate i created. But when the Simple theme is active there is no support for the background color on specific columns it works fine when the Telerik and the Caramel theme is active. isn´t that a bug. ??.

    by the way thanks for the quick response

    Martin
  4. Hristo Deshev
    Admin
    Hristo Deshev avatar
    559 posts

    Posted 07 Jul 2008 Link to this post

    Hi Martin ,

    I have confirmed the background problem with the Simple theme. It turns out that the Simple theme templates do not contain the necessary binding that will update the fill color with the one chosen as a column background.

    We have fixed the issue and it everything should work fine for the official release. I have updated your Telerik points.

    Regards,
    Hristo Deshev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top