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

Themes

3 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Doug Beard
Top achievements
Rank 2
Doug Beard asked on 05 Feb 2008, 11:19 PM
If I set a global theme (ASP.NET 2.0), I was under the impression the Prometheus controls would pick up on that theme name and apply it without being registered directly to the control.

This doesn't appear to be true in my application.

However, if I set the control.skin property equal to same name as the ASP.NET 2.0 Theme, it works as expected.

What am I missing?

3 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 06 Feb 2008, 07:38 AM
Hi Doug,

Please refer to the control's documentation under section RadControls 'Prometheus' Fundamentals --> Controlling Visual Appearance --> Using skins in ASP.NET themes for details on the matter.

Regards,
Paul
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
James
Top achievements
Rank 2
answered on 07 Feb 2008, 04:50 PM
I have an issue with using a default asp.net theme and getting the properties applied to telerik controls properly.
Here's the content of my app_themes\Default\skinfile.skin file:
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<telerik:RadWindow runat="server" Skin="Vista"/>
<telerik:RadWindowManager runat="server" Skin="Vista">

According to this, it should apply Vista as the skin for RadWin's, right?
It doesn't seem to apply though.
0
James
Top achievements
Rank 2
answered on 07 Feb 2008, 05:01 PM
figured it out
this is the name of the skin: App_Themes\Default\skinfile.skin

then I had to add to web.config:
<system.web>
  <pages theme="Default">

Then it worked! No need to set SkinID in the .skin file, or skin/skinID on the individual pages.
Tags
General Discussions
Asked by
Doug Beard
Top achievements
Rank 2
Answers by
Paul
Telerik team
James
Top achievements
Rank 2
Share this question
or