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

Problem Posistioning Sub-Menu

4 Answers 84 Views
Menu
This is a migrated thread and some comments may be shown as answers.
urbanBaldGuy
Top achievements
Rank 1
urbanBaldGuy asked on 07 Jun 2013, 10:46 PM
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.

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 10 Jun 2013, 06:33 AM
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.
0
urbanBaldGuy
Top achievements
Rank 1
answered on 10 Jun 2013, 03:31 PM
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.
0
Accepted
Kate
Telerik team
answered on 11 Jun 2013, 01:25 PM
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.
0
urbanBaldGuy
Top achievements
Rank 1
answered on 11 Jun 2013, 02:14 PM
That works perfectly, thanks!
Tags
Menu
Asked by
urbanBaldGuy
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
urbanBaldGuy
Top achievements
Rank 1
Kate
Telerik team
Share this question
or