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

Cannot set skin for filter menu

1 Answer 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
robert
Top achievements
Rank 1
robert asked on 09 Apr 2010, 05:48 PM
We have an application with a main menu that uses the "Telerik" skin, and this is working OK.  Our grids use the "WebBlue" skin, and this also is working OK.  The filter menu in the grids defaults to using the "WebBlue" skin set for the grid, and I would like to have it use the "Telerik" skin.

I have placed the following in the grid markup:

<FilterMenu Skin="Telerik" EnableEmbeddedBaseStylesheet="true" EnableEmbeddedSkins="true">   
</FilterMenu>   
 
 

and have also tried applying the same settings in the code-behind, but the grid continues to emit the "RadMenu_WebBlue" class for the filter menu, causing it to appear with the "WebBlue" skin.

I have checked the value of the grid.FilterMenu.Skin property in the the grid PreRender event, and at that point it still has the value "Telerik".  By the time it reaches the grid Unload event, the value has changed to "WebBlue".  Apparently during the Render process it gets changed to "WebBlue".

I am using the RadControls for ASP.NET AJAX Q1 2010 DLL's.

Is there something I'm missing?  Do I need to change another setting somewhere?

Regards,
Bob Reader

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 14 Apr 2010, 09:11 AM
Hi Bob,

I'm afraid the changing the FilterMenu's skin, as with all of the default built-in RadGrid control, to a different than the RadGrid's one is not supported. I'm afraid that this is by design and it is caused by an internal logic which ensures the built-in control skin is changed accordingly to RadGrid's. In case you are interested in some implementation details, the skin of the inner control is set to RadGrid's one on their PreRender event.

All the best,
Rosen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
robert
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or