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

Setting default skin using web.config

8 Answers 716 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Piyush Bhatt
Top achievements
Rank 2
Piyush Bhatt asked on 26 Mar 2008, 05:22 PM
I am trying to set default skin using Web.config - all documentation says is to use [ShortProductName] but no example shows what is the 'ShortProductName' (whether it is with namespace or without).

I am using it as below:
    <add key="Telerik.Web.UI.RadComboBox.Skin" value="Vista"/>
Above does not work.

    <add key="Telerik.RadComboBox.Skin" value="Vista"/>
This does not work either.

The only thing that works is:
    <add key="Telerik.Skin" value="Vista"/>

But this overrides everything in the site contrary to the documentation about EnableEmbeddedScript/EnableEmbeddedSkin - that says that page level overrides > control level in web.config overrides > global setting in web.config.

How should I configure web.config now? so that I have one default skin and then some specific skins for some controls?

Thanks,
Piyush

8 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 27 Mar 2008, 02:15 PM
Hello Piyush,

Thank you for bringing this issues to our attention. Actually, this happens to be a bug. I have forwarded you report to our devteam and it will be fixed for the next official release of the controls. You Telerik points have been updated.

Thanks for your cooperation and involvement,
Paul
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
parimal
Top achievements
Rank 1
answered on 23 Jun 2008, 07:06 PM
Hi,

Is this issue resolved? If yes, it which  version of RADControls for ASP.NET AJAX?

Any example/sample code will be helpful.

regards,

Parimal
0
Sebastian
Telerik team
answered on 24 Jun 2008, 07:10 AM
Hi parimal,

The Q1 2008 SP2 release of RadControls for ASP.NET AJAX is already a fact and you can download it from your Client.NET account -> My Licenses -> My Purchases section. Follow the upgrade instructions from this KB article and let us know whether everything functions normally after the update.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
parimal
Top achievements
Rank 1
answered on 25 Jun 2008, 01:27 AM
Hi,

I used the latest version of RAD ASP.NET AJAX and put the code
<add key="Telerik.Web.UI.RadComboBox.Skin" value="Vista"/>
in appsettings section of web.config file.

It did not work.

Is this fixed? If my code is incorrect please let me know the correct code for the same.

regards,

PN
0
Atanas Korchev
Telerik team
answered on 25 Jun 2008, 06:22 AM
Hi parimal,

You should use

<add key="Telerik.Web.UI.ComboBox.Skin" value="Vista"/>


Regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Bharani
Top achievements
Rank 2
answered on 24 Jul 2008, 02:24 PM
Hi I was wondering if this method also works for custom skins or only for built-in skins.

Thanks,
Bharani Ravishankar
0
Atanas Korchev
Telerik team
answered on 25 Jul 2008, 07:26 AM
Hello Bharani,

This method will work for custom skins. However you should manually register the skin CSS file. Check this help topic for additional information.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Michael
Top achievements
Rank 1
answered on 26 Jun 2014, 01:37 PM
  <system.web>
    <compilation debug="true" targetFramework="4.5"/>
    <pages styleSheetTheme="basic" theme="basic" />
  </system.web>

Create a ASP.NET themes folder in your web project called anything you liked. I called mine basic. All styles sheets, and skin files in this theme folder called basic will be automatic applied to all aspx pages

To add the theme folder go to Visual Studio menu system.  Website > Add ASP.NET folder > Theme.

In solution explorer window name the folder


Tags
General Discussions
Asked by
Piyush Bhatt
Top achievements
Rank 2
Answers by
Paul
Telerik team
parimal
Top achievements
Rank 1
Sebastian
Telerik team
Atanas Korchev
Telerik team
Bharani
Top achievements
Rank 2
Michael
Top achievements
Rank 1
Share this question
or