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

FilterMenu Theming

2 Answers 132 Views
Grid
This is a migrated thread and some comments may be shown as answers.
bill
Top achievements
Rank 1
bill asked on 25 Feb 2009, 09:28 PM
I've got a web site that takes advantage of theming.  I've got a grid with filtering enabled.  I can not set the FilterMenu Skin property in the skin file, as I did with the RadGrid.
Skin code:
<telerik:FilterMenu runat="server" Skin="Vista" SkinID="telerikFilter"/> 
Error 1 Unknown server tag 'telerik:FilterMenu'. C:\Inetpub\wwwroot\PharmacyClaimHold\App_Themes\TelerikVista\Vista.skin 5 
<FilterMenu EnableTheming="true" Skin="" SkinID="telerikFilter"

Is there a way I can do this with theming, without setting the Skin in the aspx like I've done below?
ASPX code
<FilterMenu EnableTheming="true" Skin="Vista"

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Feb 2009, 06:51 AM
Hi Bill,

The filtering menu of the control can be styled through a class assigned through the CssClass property ,This topic from the online documentation elaborates on this subject in detail:

http://www.telerik.com/help/aspnet/grid/?grdCustomizingFilteringMenu.html

The GridFilterMenu_[SkinName] class from the predefined skins is targeted to define the look and feel of the filter .

<FilterMenu cssclass="GridFilterMenu_Telerik"></FilterMenu>
(Here the skinname is Telerik)

If the skin is default it would be in your cssfile GridFilterMenu_Default.

And also, without setting any <FilterMenu cssclass="GridFilterMenu_Telerik"></FilterMenu> properties in the aspx,
open the css and create a css class GridFilterMenu_SKINNAME where SKINNAME is the name of the skin of your grid filter menu.
This css class will automatically be applied to the filtering menu of your grid

Hope this cleared it out for you?

-Shinu.
0
bill
Top achievements
Rank 1
answered on 03 Mar 2009, 04:12 PM
What I'm hoping for is a way to set the look and feel of the application in a single spot using app.config via the pages them attribute.  This is working very well for the telerik grids on my site.  Say I want to change from the Default skin look to the Telerik skin look, it would seem by using your example I would have to track down all FilterMenu instances on my web site and change the cssclass property.
Tags
Grid
Asked by
bill
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
bill
Top achievements
Rank 1
Share this question
or