Will RadMenu support behavour similar to context menus?

3 posts, 0 answers
  1. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 01 Jul 2008 Link to this post

    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. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 01 Jul 2008 Link to this post

    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...
  3. DevCraft banner
  4. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 02 Jul 2008 Link to this post

    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
Back to Top