Hi, after moving from Telerik 2013.3 to 2014.3 we get an exception when the popupmenuitems in a radribbongallery is about to expand. We are using the same control several places in our application and it only fails one place, so it takes some wizardry to make it fail. I am not able to reproduce this in a test exampleb but if you by chance have any suggestions on things to try it would be appreciated.
Here's a simpliefied xaml that fails:
<telerik:RadRibbonGallery.PopupMenuItems>
<telerik:RadMenu ClickToOpen="False">
<telerik:RadMenuItem Header="Test">
<telerik:RadMenuItem Header="Test submenu"/>
</telerik:RadMenuItem>
</telerik:RadMenu>
</telerik:RadRibbonGallery.PopupMenuItems>
Here's the exception details:
Exception1:
Cannot perform action because the specified Storyboard was not applied to this object
for interactive control.
System.Windows.Media.Animation.Storyboard
GetStoryboardClock
Source:
PresentationFramework
Target:
System.Windows.Media.Animation.Clock
GetStoryboardClock(System.Windows.DependencyObject, Boolean,
InteractiveOperation)
Stacktrace:
at
System.Windows.Media.Animation.Storyboard.GetStoryboardClock(DependencyObject
o, Boolean throwIfNull, InteractiveOperation operation)
at System.Windows.Media.Animation.Storyboard.GetCurrentStateImpl(DependencyObject
containingObject)
at System.Windows.Media.Animation.Storyboard.GetCurrentState()
at
Telerik.Windows.Controls.Animation.AnimationManager.StopIfRunning(FrameworkElement
target, String animationName, Boolean animateSelf)
at Telerik.Windows.Controls.RadMenuItem.OnIsSubmenuOpenChanged(DependencyObject
d, DependencyPropertyChangedEventArgs e)
at
System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs
e)
at
System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs
e)
at
System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs
args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex,
DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry,
EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean
coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object
value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean
coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object
value)
at Telerik.Windows.Controls.RadMenuItem.set_IsSubmenuOpen(Boolean value)
at Telerik.Windows.Controls.RadMenuItem.CloseMenu()
at Telerik.Windows.Controls.RadMenuItem.OnIsSelectedChanged(DependencyObject d,
DependencyPropertyChangedEventArgs e)
at
System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs
e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs
e)
at
System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs
args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex,
DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry,
EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean
coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object
value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean
coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object
value)
at Telerik.Windows.Controls.RadMenuItem.set_IsSelected(Boolean value)
at Telerik.Windows.Controls.MenuBase.set_CurrentSelection(RadMenuItem value)
at Telerik.Windows.Controls.MenuBase.CloseAll()
at Telerik.Windows.Controls.RadMenuItem.OnCloseTimerTick(Object sender,
EventArgs e)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source,
Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Here's a simpliefied xaml that fails:
<telerik:RadRibbonGallery.PopupMenuItems>
<telerik:RadMenu ClickToOpen="False">
<telerik:RadMenuItem Header="Test">
<telerik:RadMenuItem Header="Test submenu"/>
</telerik:RadMenuItem>
</telerik:RadMenu>
</telerik:RadRibbonGallery.PopupMenuItems>
Here's the exception details:
Exception1:
Cannot perform action because the specified Storyboard was not applied to this object
for interactive control.
System.Windows.Media.Animation.Storyboard
GetStoryboardClock
Source:
PresentationFramework
Target:
System.Windows.Media.Animation.Clock
GetStoryboardClock(System.Windows.DependencyObject, Boolean,
InteractiveOperation)
Stacktrace:
at
System.Windows.Media.Animation.Storyboard.GetStoryboardClock(DependencyObject
o, Boolean throwIfNull, InteractiveOperation operation)
at System.Windows.Media.Animation.Storyboard.GetCurrentStateImpl(DependencyObject
containingObject)
at System.Windows.Media.Animation.Storyboard.GetCurrentState()
at
Telerik.Windows.Controls.Animation.AnimationManager.StopIfRunning(FrameworkElement
target, String animationName, Boolean animateSelf)
at Telerik.Windows.Controls.RadMenuItem.OnIsSubmenuOpenChanged(DependencyObject
d, DependencyPropertyChangedEventArgs e)
at
System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs
e)
at
System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs
e)
at
System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs
args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex,
DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry,
EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean
coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object
value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean
coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object
value)
at Telerik.Windows.Controls.RadMenuItem.set_IsSubmenuOpen(Boolean value)
at Telerik.Windows.Controls.RadMenuItem.CloseMenu()
at Telerik.Windows.Controls.RadMenuItem.OnIsSelectedChanged(DependencyObject d,
DependencyPropertyChangedEventArgs e)
at
System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs
e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs
e)
at
System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs
args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex,
DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry,
EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean
coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object
value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean
coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object
value)
at Telerik.Windows.Controls.RadMenuItem.set_IsSelected(Boolean value)
at Telerik.Windows.Controls.MenuBase.set_CurrentSelection(RadMenuItem value)
at Telerik.Windows.Controls.MenuBase.CloseAll()
at Telerik.Windows.Controls.RadMenuItem.OnCloseTimerTick(Object sender,
EventArgs e)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source,
Delegate method, Object args, Int32 numArgs, Delegate catchHandler)