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

Two RadMenus on the same page

6 Answers 114 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Sander Nieling
Top achievements
Rank 1
Sander Nieling asked on 23 Apr 2010, 12:39 PM
I'm using two RadMenus on the same page (RadMenu1 and RadMenu2). For both RadMenus I created a StyleSheet (Skin):

Menu.CustomPrimary.css
Menu.CustomSecondary.css

I created two different controls:

<telerik:RadMenu ID="RadMenu1" runat="server" Skin="CustomPrimary" EnableEmbeddedBaseStylesheet="true" EnableEmbeddedSkins="false"></telerik:RadMenu> 

and

<telerik:RadMenu ID="RadMenu2" runat="server" Skin="CustomSecondary" EnableEmbeddedBaseStylesheet="true" EnableEmbeddedSkins="false"></telerik:RadMenu> 

Both StyleSheets are the same! The first RadMenu (RadMenu1) is perfect. Nothing wrong with it! The second RadMenu (RadMenu2) goes wrong. The SubItems are not completely styled (for example, they don't have the right style on hover).

What am I doing wrong?

Thanks!

6 Answers, 1 is accepted

Sort by
0
Kamen Bundev
Telerik team
answered on 23 Apr 2010, 01:20 PM
Hi Sander,

Make sure all your selectors in the both RadMenu skins begin with their specific skin classes, namely .RadMenu_CustomPrimary for the first and .RadMenu_CustomSecondary for the second. Let me know if this helps.

Kind regards,
Kamen Bundev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Sander Nieling
Top achievements
Rank 1
answered on 23 Apr 2010, 01:25 PM
Hi Kamen,

I did...

In the Menu.CustomPrimary.css every selector starts with: .RadMenu_CustomPrimary

For the Menu.CustomSecondary.css this is: .RadMenu_CustomSecondary

The first RadMenu looks fine to me, the second looks almost fine... but there are a few things missing. Can't figure out what is going wrong.

Thanks,
0
Kamen Bundev
Telerik team
answered on 23 Apr 2010, 02:55 PM
Hello Sander,

Then I will need the CSS and images for both RadMenus in order to decide what is going wrong. Thank you in advance.

Greetings,
Kamen Bundev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Sander Nieling
Top achievements
Rank 1
answered on 26 Apr 2010, 08:46 AM
Kamen Bundev,

Okay, no problem at all. But... I used two exactly the same stylesheets only the selectors are changed (.radmenu_primary and .radmenu_secondary). Both stylesheets are downloaded from the Visual StyleBuilder without any changes (Sitefinity skin). Can I send you the files by mail, because I can't add them as a attachment.

Regards,
0
Kamen Bundev
Telerik team
answered on 26 Apr 2010, 01:12 PM
Hi Sander,

You can use General Feedback to send the files. Please include a reference link to this thread. Thank you.

Regards,
Kamen Bundev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jochem Bökkers
Top achievements
Rank 2
answered on 26 Apr 2010, 02:07 PM
Hi Karmen,

We fixed this issue internally.
Using Firebug we discovered it rendered a piece of our breadcrumb class, hence the difference in layout... Thanks for your time.
Next time, we'll call an optometrist first  :)

Jochem.
Tags
Menu
Asked by
Sander Nieling
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Sander Nieling
Top achievements
Rank 1
Jochem Bökkers
Top achievements
Rank 2
Share this question
or