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

[Solved] Custom Skin confusion

6 Answers 170 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 26 Jun 2008, 06:30 AM
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

6 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 26 Jun 2008, 06:52 AM
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
0
Rob
Top achievements
Rank 1
answered on 26 Jun 2008, 06:56 AM
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
0
Atanas Korchev
Telerik team
answered on 26 Jun 2008, 07:10 AM
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
0
Rob
Top achievements
Rank 1
answered on 26 Jun 2008, 07:26 AM
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
0
Atanas Korchev
Telerik team
answered on 26 Jun 2008, 07:31 AM
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
0
Rob
Top achievements
Rank 1
answered on 26 Jun 2008, 07:37 AM

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

Tags
Menu
Asked by
Rob
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Rob
Top achievements
Rank 1
Share this question
or