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://ko.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.
We are still seeing this issue with InfragisticsWPF version 12.2.20122.2089.
We have overriden the template for RecordSelector with :
<Style TargetType="{x:Type ig:RecordSelector}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ig:RecordSelector}">
<Grid />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
PLEASE look into this issue asap.
Hi,
I have created a sample project to test this behavior with the RecordSelector style and no exception occurred on my side when I run the solution. This was tested with version 12.2.20122.2089. Would you test the behavior with this project on your side and let me know if the issue is reproducible with it or I have missed something in the scenario. Thank you.