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

Random NotSupportedException on showing ContextMenu

1 Answer 16 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Marcin asked on 16 Jan 2014, 09:13 AM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Rosen Vladimirov
Telerik team
answered on 20 Jan 2014, 12:09 PM
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 >>
Tags
Menu
Asked by
Marcin
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Share this question
or