Setting default skin using web.config

9 posts, 0 answers
  1. Piyush Bhatt
    Piyush Bhatt avatar
    166 posts
    Member since:
    Nov 2007

    Posted 26 Mar 2008 Link to this post

    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

  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 27 Mar 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. parimal
    parimal avatar
    138 posts
    Member since:
    Feb 2007

    Posted 23 Jun 2008 Link to this post

    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
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 24 Jun 2008 Link to this post

    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
  6. parimal
    parimal avatar
    138 posts
    Member since:
    Feb 2007

    Posted 24 Jun 2008 Link to this post

    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
  7. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 25 Jun 2008 Link to this post

    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
  8. Bharani
    Bharani avatar
    1 posts
    Member since:
    Jun 2008

    Posted 24 Jul 2008 Link to this post

    Hi I was wondering if this method also works for custom skins or only for built-in skins.

    Thanks,
    Bharani Ravishankar
  9. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 25 Jul 2008 Link to this post

    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.
  10. Michael
    Michael avatar
    1 posts
    Member since:
    Sep 2008

    Posted 26 Jun 2014 in reply to Piyush Bhatt Link to this post

      <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


Back to Top
UI for ASP.NET Ajax is Ready for VS 2017