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

Will RadMenu support behavour similar to context menus?

2 Answers 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
hwsoderlund
Top achievements
Rank 1
hwsoderlund asked on 01 Jul 2008, 11:59 AM
I'm trying to build a context menu that will open when an edit button in a silverlight datagrid is clicked (it has nothing to do with the right mouse button). It's working ok and I can position the menu by wrapping it in a popup. But I'm not getting the nice behaviour where the RadMenu respects the boundaries of the silverlight window and positions itself accordingly. Ideally I would like to just slap the menu right on to the page and then set some property on it that makes it position itself relative to the mouse. And of course adjust it's position so that the full menu is always visible. Even better would be if it was possible to "attach" the menu to an object and have it position itself relatively to that object (that object could then be the mouse cursor or something else). For instance, this would make it possible to attach the menu to a button, and when the button is clicked the menu will drop down immediately below the button. I'm sure it's possible to do this already with various workarounds, but it would be really nice to have this support out of the box.

2 Answers, 1 is accepted

Sort by
0
hwsoderlund
Top achievements
Rank 1
answered on 01 Jul 2008, 12:03 PM
It just occured to me that RadMenu supports almost everything that I'm looking for, but not for the root menu level. When a sub menu item is opened, it behaves just like I want it to, but in relation to the root menu level rather than to the mouse (or some other object). Hope I'm making sense here...
0
Hristo
Telerik team
answered on 02 Jul 2008, 07:41 AM
Hello Henrik,

Thanks for your feedback.

Generally speaking, RadMenu is not a good replacement for a ContextMenu. It seems like you need the latter. Unfortunately, we do not provide such control for the time being. We are, however, investigating the matter and once we find the best way to implement the control, we will surely do. Considering the complexity of the task, we cannot set a certain timeframe on when this will be available at our side.

We will greatly appreciate any further feedback of yours regarding the ContrextMenu control. This is always the best way to improve the quality of our products.

Regards,
Hristo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
hwsoderlund
Top achievements
Rank 1
Answers by
hwsoderlund
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or