Accessing built-in skins when EnableEmbeddedSkins is set to false

2 posts, 0 answers
  1. Adrian
    Adrian avatar
    4 posts
    Member since:
    Feb 2013

    Posted 06 Jul 2014 Link to this post

    When using skins in ASP.NET AJAX controls for a project I'm working on, I have been asked to enable behaviour for skin customisation. From reading the documentation I figure that I have to set EnableEmbeddedSkins to False in order to use customised skins. Unfortunately this means I can't also allow users to just call "Office2010Black" for a skin name to access one of the embedded skins.

    So first of all, am I wrong about how the skins work? Is there a way I can use both embedded and custom skins together (for example, but pulling out all the embedded skins and referencing the skin by path)?
  2. Vessy
    Admin
    Vessy avatar
    1389 posts

    Posted 09 Jul 2014 Link to this post

    Hi Adrian,

    In order to use both a custom and the embedded skins you will need to build a custom Skin assembly, containing all desired skins. You could follow the steps in  the following resources in order to achieve it:
    How to Load Skins from External Assemblies - help article
    How to load skins from external assemblies - code library


    Hope this helps.

    Regards,
    Vessy
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

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