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

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

1 Answer 48 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 21 Jan 2011, 09:53 PM
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?

1 Answer, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 26 Jan 2011, 02:04 PM
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>>
Tags
Menu
Asked by
Rob
Top achievements
Rank 1
Answers by
Dani
Telerik team
Share this question
or