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

DropDown submenuItem direction

1 Answer 41 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Cheng Lim Sek
Top achievements
Rank 1
Cheng Lim Sek asked on 06 Nov 2009, 09:35 AM
Hi,

I have read that when i set the orientation to vertical, the popup will be placed on the rightside and when i set the orientation to horizontal, the popup will be placed on the bottom.

Below is my code, I have alr set the orientation to Horizontal, how come when i run it, the submenu is placed at the right side and this has block my other menu item on the right.

<

 

telerikNavigation:RadMenuItem Header="File">

 

 

 

    <telerik:RadMenuItem.ItemsPanel>

 

 

 

    <ItemsPanelTemplate>

 

 

 

        <telerik:RadWrapPanel Orientation="Horizontal"/>

 

 

 

    </ItemsPanelTemplate>

 

 

 

    </telerik:RadMenuItem.ItemsPanel>

 

 

 

    <telerikNavigation:RadMenuItem Header="New Tab"/>
        <telerikNavigation:RadMenuItem Header="Page by E-mail..." />

 

 

 

        <telerikNavigation:RadMenuItem Header="Link by E-mail..." />

 

 

 

        <telerikNavigation:RadMenuItem Header="Shortcut to Desktop" />

 

 

 

    </telerikNavigation:RadMenuItem>

 

 

 

    <telerikNavigation:RadMenuItem Header="Properties" />

 

 

 

    <telerikNavigation:RadMenuItem Header="Exit" />

 

 

 

</telerikNavigation:RadMenuItem>

 

1 Answer, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 06 Nov 2009, 10:53 AM
Hello,

RadMenu automatically moves its popups when there is no space for them in their default location. I suppose that there is not enough space to display the menu item where it is supposed to be, hence it moves on the right. If this is not the cause of the problem, we would appreciate if you send us the complete code of the application. This will help us to quickly identify the problem and provide you with a solution.

Sincerely yours,
Valeri Hristov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Menu
Asked by
Cheng Lim Sek
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Share this question
or