ClickToOpen allows same click to pass through to RadMenuItems if menu is poorly positioned.

2 posts, 0 answers
  1. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 21 Jan 2011 Link to this post

    Hello,

    Please see the attached image.  In my RadMenu, I have enough RadMenuItems to force the boundary checking to move the popup such that it opens directly above (z-index) the top level item.  Since I also have "ClickToOpen" set, (although it doesn't really matter) when you press the mouse button down on the top level item, the mouse button up event actually fires on the RadMenuItem...

    Thoughts?  Can you adjust the boundary detection algorithm to move the popup to the right when it would normally cover up the top level menu item?

  2. Dani
    Admin
    Dani avatar
    848 posts

    Posted 26 Jan 2011 Link to this post

    Hi Rob,

    You can adjust the position of the PopUp quite easily if you use the VerticalOffset and HorizontalOffset properties of the PopUp control. The PopUp control is used in the Style of the MenuItem to display submenus.

    Please, find attached a very basic application with changed Vertical and Horizontal offsets. Search for the word "NOTE" to locate the modification of the default template.

    Keep in mind that there are four different templates for the RadMenuIttem. You can find more details on this topic here.

    I hope this helps.

    Regards,
    Dani
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
Back to Top