Two RadMenus on the same page

7 posts, 0 answers
  1. Sander Nieling
    Sander Nieling avatar
    3 posts
    Member since:
    Mar 2010

    Posted 23 Apr 2010 Link to this post

    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!
  2. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 23 Apr 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sander Nieling
    Sander Nieling avatar
    3 posts
    Member since:
    Mar 2010

    Posted 23 Apr 2010 Link to this post

    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,
  5. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 23 Apr 2010 Link to this post

    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.
  6. Sander Nieling
    Sander Nieling avatar
    3 posts
    Member since:
    Mar 2010

    Posted 26 Apr 2010 Link to this post

    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,
  7. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 26 Apr 2010 Link to this post

    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.
  8. Jochem Bökkers
    Jochem Bökkers avatar
    11 posts
    Member since:
    Aug 2007

    Posted 26 Apr 2010 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017