Problem Posistioning Sub-Menu

5 posts, 1 answers
  1. urbanBaldGuy
    urbanBaldGuy avatar
    13 posts
    Member since:
    Apr 2007

    Posted 07 Jun 2013 Link to this post

    I have a RadMenu that display when a button is hovered over.  I set a fixed size height on the menu of 600px.  I would like the sub-menus to line up at the top edge of the parent menu instead of coming out next to the parent item. 

    The root items are dynamic so I cannot simply use the Offset properties.

    I am attaching two images.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 10 Jun 2013 Link to this post

    Hi,

    Try setting 'ExpandDirection' to set the position of Submenu.
    ASPX:
    <telerik:RadMenuItem runat="server" Text="Root RadMenuItem2">
      <Items>
       ... ... ...
      </Items>
     <GroupSettings ExpandDirection="Up" />
    </telerik:RadMenuItem>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. urbanBaldGuy
    urbanBaldGuy avatar
    13 posts
    Member since:
    Apr 2007

    Posted 10 Jun 2013 Link to this post

    That actually results in the sub-menu displaying over the Root Menu.

    The desired result would be to have the sub-menus aligned with the root menu.

    I will open a support ticket with the sample project.
  5. Answer
    Kate
    Admin
    Kate avatar
    1898 posts

    Posted 11 Jun 2013 Link to this post

    Hi Rob,

    We have just answered your support ticket. I will also paste the code that you can use to get the desired look in case anyone else need it as well:
    .rmSlide {
        top: 0px !important;
    }

    Regards,
    Kate
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  6. urbanBaldGuy
    urbanBaldGuy avatar
    13 posts
    Member since:
    Apr 2007

    Posted 11 Jun 2013 Link to this post

    That works perfectly, thanks!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017