Having recently upgraded from normal asp.net controls to the Prometheus versions, I'm having a hard time getting the controls to skin correctly.
Here's what I've done:
1. Added "skins" folder from installation directory to the root of my site
2. Added <add key="Telerik.Web.UI.Skin" value="Outlook"/> to web.config
I have managed to fix the broken image in RadAjaxLoadingPanel by using:
... src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' ...
(While we're on the topic, why don't all controls have common skins? ie, setting the skin in web.config is almost pointless since many controls may not have that skin)
So can someone please give me a "blow-by-blow" description on how to set a "global" skin for all my telerik controls on the one page?
Cheers,
Daron
Here's what I've done:
1. Added "skins" folder from installation directory to the root of my site
2. Added <add key="Telerik.Web.UI.Skin" value="Outlook"/> to web.config
I have managed to fix the broken image in RadAjaxLoadingPanel by using:
... src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' ...
(While we're on the topic, why don't all controls have common skins? ie, setting the skin in web.config is almost pointless since many controls may not have that skin)
So can someone please give me a "blow-by-blow" description on how to set a "global" skin for all my telerik controls on the one page?
Cheers,
Daron
7 Answers, 1 is accepted
0
Hello Daron,
Please, refer to the help topic on Using skins in ASP.NET themes. This is a step-by-step guide on setting skins through themes.
We understand your point on setting a global skin for all telerik controls and this is something which we will consider for future releases.
Let us know if you have any further questions.
All the best,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please, refer to the help topic on Using skins in ASP.NET themes. This is a step-by-step guide on setting skins through themes.
We understand your point on setting a global skin for all telerik controls and this is something which we will consider for future releases.
Let us know if you have any further questions.
All the best,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Daron
Top achievements
Rank 1
answered on 18 Jan 2008, 09:55 AM
Yes,
That describes how to create my own skin, but how about using the built-in ones?
I have the "skins" folder in the root of my site, and set
<add key="Telerik.Web.UI.Skin" value="Outlook"/>
in the web.config file.
This does not work, but if I set the "Skin" property of each control that works - however, that is not what I want. I want to be able to change the entire theme in one location (namely the web.config).
What am I missing?
Cheers,
Daron
That describes how to create my own skin, but how about using the built-in ones?
I have the "skins" folder in the root of my site, and set
<add key="Telerik.Web.UI.Skin" value="Outlook"/>
in the web.config file.
This does not work, but if I set the "Skin" property of each control that works - however, that is not what I want. I want to be able to change the entire theme in one location (namely the web.config).
What am I missing?
Cheers,
Daron
0
I see what you mean. Unfortunately, this is not possible with the current version of Telerik.Web.UI. However, we will consider allowing such an option in the future.
All the best,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Andy Steinfeld
Top achievements
Rank 1
answered on 20 Feb 2008, 04:03 PM
I've been struggling with this today also and would put a vote in for this option. Infact another thread suggested it would work:
Thank you,
/Andy
Hi mikejoseph,
Basically, you should be able to set the Skin property for all Prometheus controls (inside your web site) by adding similar appSettings -> key to the web.config file. The only thing you need to change is the namespace, namely:
Best regards,
Stephen
the Telerik team
Thank you,
/Andy
Hi mikejoseph,
Basically, you should be able to set the Skin property for all Prometheus controls (inside your web site) by adding similar appSettings -> key to the web.config file. The only thing you need to change is the namespace, namely:
| <appSettings> |
| <add key="Telerik.Web.UI.Skin" value="Outlook"/> |
| </appSettings> |
Best regards,
Stephen
the Telerik team
0
Hi Andy,
Actually the key value you should use is Telerik.Skin, not Telerik.Web.UI.Skin. I apologize if I made a mistake and posted it like this somewhere. The proper syntax is outlined at the bottom section of this documentation topic.
Best regards,
Stephen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Actually the key value you should use is Telerik.Skin, not Telerik.Web.UI.Skin. I apologize if I made a mistake and posted it like this somewhere. The proper syntax is outlined at the bottom section of this documentation topic.
Best regards,
Stephen
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Andy Steinfeld
Top achievements
Rank 1
answered on 20 Feb 2008, 04:26 PM
Stephen,
This is goodl news and thank you for your quick respones. I'm sorry I missed that part of the documentation when I first was researching this question.
I dont know if its a syntax issue but I cant seem to get it to work. This is what I added:
This is goodl news and thank you for your quick respones. I'm sorry I missed that part of the documentation when I first was researching this question.
I dont know if its a syntax issue but I cant seem to get it to work. This is what I added:
<
add key="Telerik.Skin" value="Office2007"/>
Any thoughts on why this wouldnt work.
Thank you,
/Andy
0
Hello Andy Steinfeld,
Actually, you should use the latest Web.UI build. I attached it to this thread.
If you need a dev version, please open a formal support ticket under your licensed account and we will attach a dev version there.
Regards,
Nick
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Actually, you should use the latest Web.UI build. I attached it to this thread.
If you need a dev version, please open a formal support ticket under your licensed account and we will attach a dev version there.
Regards,
Nick
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
