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

Custom theme not working for controls !!!

3 Answers 104 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yasser
Top achievements
Rank 1
Yasser asked on 27 Aug 2008, 04:17 AM
Hi,
i have downloaded  "RadControls for ASPNET AJAX Q2 2008" . I want to use custom Skin for Calendar Control. for this i have performed following activities according to Documentation but it does work :(

1) - I Copied a theme from C:\Program Files\Telerik\RadControls for ASPNET AJAX Q2 2008\Skins folder and added it to root level of application folder.

2) - Deleted unnessary files , just Calender folder and Calender.Hay.css was left.

3) - Renamed the folder to MySkin and Calender.Hay.css to Calender.MySkin.css

4) - Registered the Calender.MySkin.css in header section of Page.

5) - Changed the Skin Property of Calender to "MySkin" and set the EnableEmbadedSkin property to false.

I ran the application but skin was not applied.

Even i change the CssFile Property of  Calender to the path of Calender.MySkin.css but failed.

Note : I am using Visual Studio 2008 Team Edition

Any help ???

Thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 27 Aug 2008, 05:38 AM
Hello Yasser,

In addition to all that you have done, you also need to rename the skin suffixes of the CSS classes in the CSS file:

.ClassName_Hay  -->  .ClassName_MySkin



Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Yasser
Top achievements
Rank 1
answered on 27 Aug 2008, 07:22 AM
Thanks,

This thing is mentioned in Documentation but Not that much Elaborate.

I think in future Documentation, this thing can be made elaborate.

Thanks again!!!!
0
Accepted
Dimo
Telerik team
answered on 27 Aug 2008, 07:28 AM
Hello Yasser,

OK, we will explain it in more detail.

Kind regards,
Dimo
the Telerik team

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