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

[Solved] Customizable Skins

6 Answers 158 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Pepito
Top achievements
Rank 1
Pepito asked on 02 May 2008, 09:27 AM
Hi Telerik:

The new version is gorgeous , everything is inside of the dll but there is a problem with the skins.

I Have customized "Web20" using  Q3 2007. So i have a folder on the root of my application with the all the templates and files of this Skin and this folder has the same structure that Radcontrol , as following :

Project. 
     App_Data
     Bin
     Default1.aspx
     Default2.aspx
     RadControl
          Ajax
               script
               skins
          Calendar
               script
               skins
          Combobox
               script
               skins

And now  I don't know how to use the same structure ( I mean the same folder )  with Q1 2008. Because I have changed colours and  fonts in the css, and now i want to use my folder, but the solution it's a NIGHTMARE or i don't understand the solution.

Can you give a example  about how to overwrite the skin  ? I am pretty sure I am not the only one and the information isn't very clear.

Thank you very much .Pepito

6 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 02 May 2008, 10:03 AM
Hello Pepito,

There are a couple of steps you need to follow to modify the skin. You will find this document explaining those one by one.

Let us know if you need further assistance.

All the best,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Pepito
Top achievements
Rank 1
answered on 02 May 2008, 10:25 AM
Sop i copy the folder and   I am trying to use this: 


<appSettings>
 
<add key="Telerik.Skin" value="[SkinName]" />   <!-- Sets the skin for all RadControls -->
 
<add key="Telerik.[ShortProductName].Skin value="[SkinName]" />
   
<!-- Sets the skin for a specific control -->
</
appSettings>

But isn't working. Can you use a tangible example ?

There are more pelople with the same error

Regards.
0
Helen
Telerik team
answered on 02 May 2008, 11:49 AM
Hi Pepito,

Please find attached a project showing how to achieve this. I did the following in it:
  • Modified the Office2007 skin of RadMenu and RadPanelbar - placed the skin files in the SkinTest folder.
  • Set a global skin in the web.config:
<appSettings> 
    <add key="Telerik.Skin" value="Office2007"/>  
</appSettings> 
  • Registered both(panelbar and menu) css files in the page's head tag:
<head runat="server">  
    <title>Untitled Page</title> 
    <link href="SkinTest/Menu.css" rel="stylesheet" type="text/css" /> 
    <link href="SkinTest/Menu.Office2007.css" rel="stylesheet" type="text/css" /> 
    <link href="SkinTest/PanelBar.css" rel="stylesheet" type="text/css" /> 
    <link href="SkinTest/PanelBar.Office2007.css" rel="stylesheet" type="text/css" /> 
</head> 
 

Hope it will be helpful.

If your scenario is different, could you please modify our test project with the your  exact configuration so that we will be able to see the error at our side.

Regards,

Helen

the Telerik team


Instantly find answers to your questions at the new Telerik Support Center
0
Pepito
Top achievements
Rank 1
answered on 02 May 2008, 12:18 PM
Hi Helen:

Thank you for your solution.

But this solution  is a laborious solution. My suggestion  for the next built   if you could add some properties doing us the work easier, oterwise you are forcing to use telerik skins by default without changes and this isn't very usefull because everybody modifies the skins.

For example: I can only  use verdana as a requisite of the project and i must modify all the components and I must change the structure in the folder of Radcontrol.

Regards.Pepito
0
Matt
Top achievements
Rank 1
answered on 05 May 2008, 09:21 AM
Hi
I have to agree with Pepito this is causing a lot of rework - could you not reinstate the RadSkinsFolder property that used to exist in the prior version, this can then be set within a .skin file for the whole application?
Many Thanks
Matt
0
Nikolay
Telerik team
answered on 05 May 2008, 11:07 AM
Hi Matt Wills,

We might consider reinstate the "SkinsPath" property. However, I cannot promise that this will be done for the next release.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Pepito
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Pepito
Top achievements
Rank 1
Helen
Telerik team
Matt
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or