DropDown submenuItem direction

2 posts, 0 answers
  1. Cheng Lim Sek
    Cheng Lim Sek avatar
    33 posts
    Member since:
    Oct 2009

    Posted 06 Nov 2009 Link to this post

    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>

     

  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 06 Nov 2009 Link to this post

    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.
  3. DevCraft banner
Back to Top