'BarHoverGrid' name cannot be found in the name scope of 'System.Windows.Controls.Grid'

Hello, 

we have a pretty complex page with an SfDataGrid and normally everything works just fine. But sometimes - we cannot directly receate the situation - does this page crash with the follwing exception:

System.InvalidOperationException: 'BarHoverGrid' name cannot be found in the name scope of 'System.Windows.Controls.Grid'. 
   at System.Windows.Media.Animation.Storyboard.ResolveTargetName(String targetName, INameScope nameScope, DependencyObject element) 
   at System.Windows.Media.Animation.Storyboard.ClockTreeWalkRecursive(Clock currentClock, DependencyObject containingObject, INameScope nameScope, DependencyObject parentObject, String parentObjectName, PropertyPath parentPropertyPath, HandoffBehavior handoffBehavior, HybridDictionary clockMappings, Int64 layer) 
   at System.Windows.Media.Animation.Storyboard.ClockTreeWalkRecursive(Clock currentClock, DependencyObject containingObject, INameScope nameScope, DependencyObject parentObject, String parentObjectName, PropertyPath parentPropertyPath, HandoffBehavior handoffBehavior, HybridDictionary clockMappings, Int64 layer) 
   at System.Windows.Media.Animation.Storyboard.BeginCommon(DependencyObject containingObject, INameScope nameScope, HandoffBehavior handoffBehavior, Boolean isControllable, Int64 layer) 
   at System.Windows.Media.Animation.BeginStoryboard.Begin(DependencyObject targetObject, INameScope nameScope, Int64 layer) 
   at System.Windows.EventTrigger.EventTriggerSourceListener.Handler(Object sender, RoutedEventArgs e) 
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
etc...

We cannot find anything named "BarHoverGrid" in our code base. We do not call it nor define it.
Does anyone have an explanation for this?

Thank you,

Peter

3 Replies

DY Deivaselvan Y Syncfusion Team August 10, 2018 07:18 AM UTC

Hi Peter,

Thank you for contacting Syncfusion support.

From the given stacktrace, we have suspect that you are trying to find the UI element in the name of "BarHoverGrid" in your application. And which is not found in the definition, causes the issue. Kindly provide some more details on your application and the sample/codesnippet to reproduce the issue from our end, thereby we will analyze and update you with the appropriate details at the earliest.

Regards,
Deivaselvan 



PB Peter Bernhardt August 10, 2018 07:55 AM UTC

Hi Deivaselvan,

thank you for your answer.
And I do recognize what the stacktrace says, but the point is, that we do not have any control, storybord animation or whatever with that name. None. Really. And we also have no call or refrence to something named like that. We even cannot find this string in our complete code base.
What we do have are your grid and ribbon controls as the only 3rd party controls in our application. Could you please check if there is a call to an UI element named "BarHoverGrid" in your code base?
Thank you.

Regards,
Peter


SK Senthil Kumaran Rajan Syncfusion Team August 10, 2018 03:53 PM UTC

Hi Peter, 
 
Thank you for your update. 
 
We considered this requirement behavior as a bug and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates. 
 
 
Regards, 
Senthil 


Loader.
Up arrow icon