Random NotSupportedException on showing ContextMenu

2 posts, 1 answers
  1. Marcin
    Marcin avatar
    31 posts
    Member since:
    Jul 2013

    Posted 16 Jan 2014 Link to this post

    Hi,

    users reports, that 'sometimes', when they do a few right mouse button clicks on elements with ContextMenu binded, they get an exception with the following xaml:
    ---------------------------

    ---------------------------
    Unhandled exception: System.NotSupportedException: Specified method is not supported.

       w System.Windows.Controls.Primitives.Popup.SetWindow(Window associatedWindow)

       w Telerik.Windows.Controls.RadContextMenu.OpenPopup()

       w Telerik.Windows.Controls.RadContextMenu.OpenContextMenu(Object sender, EventArgs e)

       w Telerik.Windows.Controls.RadContextMenu.OnElementWithContextMenuMouseClick(Object sender, MouseButtonEventArgs e)

       w MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)

       w MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
    ---------------------------
    OK   
    ---------------------------


    It seems not to occur while doing this clicks slower, but in some situation its a bit annoying.

    Thanks for You help in advance,
    Best regards

    Marcin Danek
  2. Answer
    Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 20 Jan 2014 Link to this post

    Hello Marcin,

    Thanks for writing to us.

    We've successfully reproduced the issue based on your description and the call stack you've provided. Our developers are working on it and it will be fixed for one of our next internal builds.

    We are sorry for the caused inconvenience. I've updated your Telerik Points as a small sign of our appreciation for your efforts.

    Regards,
    Rosen Vladimirov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top