This question is locked. New answers and comments are not allowed.
Hello,
I am running into an issue with a Button that is contained within the ListFooterTemplate of a RadDataBoundListBox. When the user clicks on the button in the footer, the backing command in the view model will change the visibility of the button to make it Collapsed. Note that this does not happen every time (most times it works fine). Here is the crash that I see:
System.InvalidOperationException: Animation target not specified.
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.Storyboard_Begin(Storyboard storyboard)
at Telerik.Windows.Controls.TiltInteractionInfo.Clear(Boolean animate)
at Telerik.Windows.Controls.TiltInteractionEffect.EndTilting(Boolean animate)
at Telerik.Windows.Controls.TiltInteractionEffect.OnElementManipulationCompleted(Object sender, RoutedEventArgs 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)
Any ideas on how to prevent this?
Here is an overview of my setup:
1. Using a RadDataBoundListBox
2. ListFooterTemplate that has an embedded Button
3. On click of the button, a Command in ViewModel will be called which will set the button's visibility to collapsed.
I am running into an issue with a Button that is contained within the ListFooterTemplate of a RadDataBoundListBox. When the user clicks on the button in the footer, the backing command in the view model will change the visibility of the button to make it Collapsed. Note that this does not happen every time (most times it works fine). Here is the crash that I see:
System.InvalidOperationException: Animation target not specified.
at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
at MS.Internal.XcpImports.Storyboard_Begin(Storyboard storyboard)
at Telerik.Windows.Controls.TiltInteractionInfo.Clear(Boolean animate)
at Telerik.Windows.Controls.TiltInteractionEffect.EndTilting(Boolean animate)
at Telerik.Windows.Controls.TiltInteractionEffect.OnElementManipulationCompleted(Object sender, RoutedEventArgs 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)
Any ideas on how to prevent this?
Here is an overview of my setup:
1. Using a RadDataBoundListBox
2. ListFooterTemplate that has an embedded Button
3. On click of the button, a Command in ViewModel will be called which will set the button's visibility to collapsed.