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

Error opening sub menu in Radcontext menu

2 Answers 43 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 11 Dec 2010, 01:14 PM
Hello,

I had created a Context menu for RadDocking control dynamically
menu items in context menu are added dynamically and i had created a sub menu also for a menu item in context menu.
everything works fine but sometimes while mouse points the menu item, sub menu should open but sub menu does not get open and i get following exception:

InvalidOperationException: Animation target not specified.
   at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
   at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
   at MS.Internal.XcpImports.Storyboard_Begin(Storyboard storyboard)
   at Telerik.Windows.Controls.Animation.AnimationManager.Play(FrameworkElement target, String animationName, Action completeCallback, Object[] args)
   at Telerik.Windows.Controls.RadMenuItem.RunExpandAnimation(RadMenuItem menuItem)
   at Telerik.Windows.Controls.RadMenuItem.<>c__DisplayClass5.<OnIsSubmenuOpenChanged>b__0(Object sender, EventArgs args)
   at Telerik.Windows.Controls.PopupWrapper.OnPopupOpened(Object sender, EventArgs e)
   at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

Please suggest why am i getting this exception and how this can solved.

Thanks,

2 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 14 Dec 2010, 10:09 AM
Hi Rahul,

Thank you for contacting us.

This is a known issue and it is logged in PITS. You can view it here. We will do our best to provide a fix by the end of Q1 2011.
Please accept our apologies for the inconvenience caused.

If you have further questions please let us know.

Kind regards,
Konstantina
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Hristo
Telerik team
answered on 14 Dec 2010, 02:53 PM
Hi Rahul,

This problem is Fixed. It will be available with the next Latest Internal Build.

Thank you contacting us.

Best wishes,
Hristo
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
Menu
Asked by
Rahul
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Hristo
Telerik team
Share this question
or