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

Custom skins for RadInput issue

1 Answer 49 Views
Input
This is a migrated thread and some comments may be shown as answers.
Alexandru
Top achievements
Rank 1
Alexandru asked on 21 Dec 2008, 02:46 PM
Hi,

In my application I have 3 versions of the Mac skins that I'm using for my RadNumericTExtBox or RadTextBox controls: Mac, Mac1 and Mac2.
Now it seems that all my Rad textbox controls are loading the Mac2 skin - even if the skin for some of them is Mac or Mac1. Why is this happening?

In the project, they are located in a folder RadControlsAjax\Skins   (Mac, Mac1 and Mac2) and the css files are reffered from the masterpage.

If I remove from the Skins folder the Mac2 folder, then all the TextBox controls load the Mac1 skin.

Strange. Any ideas? Please reply as soon as possible.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 22 Dec 2008, 07:56 AM
Hello Alexandru,

From what you are saying, I conclude that the three versions of your custom Mac skin have the same skin suffixes in the CSS classes. They must be different and they must match the name of the skin property:

Mac skin CSS file

.RadInput_Mac
{

}


Mac1 skin CSS file

.RadInput_Mac1
{

}


Mac2 skin CSS file

.RadInput_Mac2
{

}


Currently all your textboxes are applying the styles from the CSS file, which is registered last on hte page.



Greetings,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Input
Asked by
Alexandru
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or