Custom Skin confusion

7 posts, 0 answers
  1. Rob
    Rob avatar
    44 posts
    Member since:
    Apr 2008

    Posted 26 Jun 2008 Link to this post

    I have not been able to follow the instructions for setting up a custom skin.

    Created a directory in my site called RadMenu\Metro, and copied the default css file and images to it.

    I renamed the css file to menu.Metro.css

    I registered the css file.

    I set the radmenu to EnableEmbeddedSkins="False" and Skin="Default"

    All well and good, I get the default skin.

    Then I open the css file and replaced all occurences of Default with Metro, and changed the radmenu Skin to Metro.

    No skin.

    Also, I have a second radmenu of the page, and that had Skin="Metro" all along, and when the css file contained _Default, if adopted theskin, but changing the css file to _Metro, that menu lost the skin as well - which implies that the menus are ignoring their skin setting, and always looking for Default?

    I'm using the latest version.

    Did I miss something?

    Thanks

    Rob
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 26 Jun 2008 Link to this post

    Hello Rob,

    Have you checked this online help topic? It describes in detail how to create a custom skin for RadMenu.

    Greetings,
    Albert
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Rob
    Rob avatar
    44 posts
    Member since:
    Apr 2008

    Posted 26 Jun 2008 Link to this post

    Hi Albert

    Yes, and when I couldn't get the radmenu to reflect anything in my custom skin, I conducted the above experiment, and found that the moment I change the skin slecter to anything other than _Default, it breaks.

    Cheers

    Rob
  4. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 26 Jun 2008 Link to this post

    Hi Rob,

    I don't know what went wrong on your site. Please find attached a sample web site demonstrating how to create a custom skin (based on the default one).

    Regards,
    Albert
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Rob
    Rob avatar
    44 posts
    Member since:
    Apr 2008

    Posted 26 Jun 2008 Link to this post

    Hi Albert

    The only difference I can see is that I am using a master page, so maybe it is that.

    In the meantime, I have it working, by leaving the _Default in the css file.

    Kind regards,

    Rob
  6. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 26 Jun 2008 Link to this post

    Hi Rob,

    The master page should not be causing any problems. I have attached a modified version of the web site.

    Regards,
    Albert
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Rob
    Rob avatar
    44 posts
    Member since:
    Apr 2008

    Posted 26 Jun 2008 Link to this post

    Hi Albert

     Sorry – I just realised, my fault entirely.

     I had a bit of code lurking which was allowing the user to select between the built-in skins, and this was overwriting my skin setting to Default.

     Sorry to have wasted your time.

     Rob

Back to Top