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

[Solved] ComboBox in Pager inherits Grid skin?

3 Answers 126 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter Luth
Top achievements
Rank 1
Peter Luth asked on 08 Jun 2009, 01:18 PM
We are using a custom skin for all our RadGrids with the following line in a App_Themes .skin file:

<rad:RadGrid runat="server" Skin="ourskin" EnableEmbeddedSkins="false"  ImagesPath="~/Skins/Grid/" />

However, the pager contains a ComboBox. This ComboBox is wrongly styled, since it tries to use "ourskin" for ComboBox as well, but we are using Web20 for RadComboBox:

<rad:RadComboBox runat="server" Skin="Web20" />

What is the best solution?

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 09 Jun 2009, 04:41 PM
Hi Martin,

All controls, which are automatically created by RadGrid use the same skin as the RadGrid itself.

In your case I suggest you to register a CSS file with a RadComboBox "ourskin" skin. Alternatively, you can hide the combobox, so that it is not used inside the pager, or you can use a pager template, which uses a RadComboBox with a skin of your preference.

Kind regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Peter Luth
Top achievements
Rank 1
answered on 10 Jun 2009, 06:52 AM
Thanks for your solutions.

It would however be much better if we could provide the skin we wanted to use for the ComboBox in the pager. It's not the best solution for us to copy one of your standard skins and rename it to "ourskin", which means we won't get fixes or improvements you make to your standard skins.
0
Dimo
Telerik team
answered on 10 Jun 2009, 08:55 AM
Hi Martin,

I agree with you, however, this limitation exists for a reason and is related to RadSkinManager. Sorry for the inconvenience.

Regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Peter Luth
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Peter Luth
Top achievements
Rank 1
Share this question
or