Hi, we are getting below error while loading data in grid. The screen with same code opens first time with no errors. When the screen opens after switching to another screen below error is observed.
This happens on Winows Server 2008 machine and does not happen on Windows 7 machine. Attachment (ZIP file) contains the .Net framework installed in both the machines information
04/04/2013 12:58:34Type : System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089Message : 'selectorArrow_Active' name cannot be found in the name scope of 'System.Windows.Controls.ControlTemplate'.Source : PresentationFrameworkHelp link : Data : System.Collections.ListDictionaryInternalTargetSite : System.Windows.DependencyObject ResolveTargetName(System.String, System.Windows.Markup.INameScope, System.Windows.DependencyObject)Stack Trace : 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.Media.Animation.BeginStoryboard.Invoke(FrameworkElement fe, FrameworkContentElement fce, Style targetStyle, FrameworkTemplate frameworkTemplate, Int64 layer) at System.Windows.StyleHelper.InvokeEventTriggerActions(FrameworkElement fe, FrameworkContentElement fce, Style ownerStyle, FrameworkTemplate frameworkTemplate, Int32 childIndex, RoutedEvent Event) at System.Windows.StyleHelper.ExecuteEventTriggerActionsOnContainer(Object sender, RoutedEventArgs e) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at Infragistics.Windows.DataPresenter.RecordSelector.OnActivated(RoutedEventArgs args) at Infragistics.Windows.DataPresenter.RecordSelector.RaiseActivated(RoutedEventArgs args) at Infragistics.Windows.DataPresenter.RecordSelector.OnLoaded(Object sender, RoutedEventArgs e)
Hello,
Thank you for posting!
I have been looking into the provided stack trace. The reason for this behavior might be a missing Path for the RecordSelector style. This error will occur if you had copied this default style and you had removed the “selectorArrow_Active” path. More information on this could be found in the following forum thread: http://es.infragistics.com/community/forums/p/76473/386357.aspx. If this is not the case, could you provide me sample project where this issue is reproducible so that I could investigate it further for you. Thank you.
I am just checking your progress on the issue.
If you require any further assistance, please do not hesitate to ask.