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

Filtering on specific columns / use of Simple Theme

3 Answers 41 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 02 Jul 2008, 08:47 AM
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.



3 Answers, 1 is accepted

Sort by
0
Hristo Deshev
Telerik team
answered on 02 Jul 2008, 02:06 PM
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
0
Martin
Top achievements
Rank 1
answered on 03 Jul 2008, 06:37 AM
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
0
Hristo Deshev
Telerik team
answered on 07 Jul 2008, 11:48 AM
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
Tags
General Discussions
Asked by
Martin
Top achievements
Rank 1
Answers by
Hristo Deshev
Telerik team
Martin
Top achievements
Rank 1
Share this question
or