Hi,
In most of the XamOrgChart sample in the DV Feature Browser, I get an exception
{"Value does not fall within the expected range."}
When I try to collapse a Node. Is this a bug?
Best Regards,
Steven
Hello Steven,
Thank you for your post. I have been looking through it and I tested all samples about xamOrgChart in the feature browser and everything seem to work ok on my side. If you could provide me with some more information about your environment - like the OS you are using, .Net Framework version, etc. I can investigate your issue further.
If you need any further clarifications on this matter do not hesitate to ask.
Hi Stefan,
I am runnning Window 7 Professional 64 bit and .Net Framework 4.
For example in the sample, "Individual Node Properties" under "editing and Selection". When select a node and click on the "IsExpanded" checkbox", it collapse without any problem. But when I click on the Expansion Indicator in the node directly, it crashes.
Hello again,
I have very similar environment as you (Windows 7 64 bit Service Pack 1, .Net Framework 4, I am using Windows 7 Aero Theme). I follow the steps you described and everything seems to work ok on my side. Please try reinstalling the samples and let me know if the issue still persists.
I look forward to see hearing from you.
NETADVANTAGE 11.2.20112.2076
Value does not fall within the expected range.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at MS.Internal.Automation.UiaCoreProviderApi.CheckError(Int32 hr) at System.Windows.Automation.Provider.AutomationInteropProvider.RaiseAutomationPropertyChangedEvent(IRawElementProviderSimple element, AutomationPropertyChangedEventArgs e) at System.Windows.Automation.Peers.AutomationPeer.RaisePropertyChangedEvent(AutomationProperty property, Object oldValue, Object newValue) at Infragistics.Controls.Maps.OrgChartNodeAutomationPeer.RaiseExpandCollapsePropertyChangedEvent(Boolean newValue) at Infragistics.Controls.Maps.OrgChartNodeAutomationPeer.OwningNodeControl_PropertyChanged(Object sender, PropertyChangedEventArgs e) at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e) at Infragistics.DependencyObjectNotifier.OnPropertyChanged(String propertyName) at Infragistics.Controls.Maps.OrgChartNode.set_IsExpanded(Boolean value) at IConsystems.UserClient.Views.Home.xamOrgChart_NodeControlAttachedEvent(Object sender, OrgChartNodeEventArgs e) in C:\Users\daniel.ward\Documents\Visual Studio 2010\Projects\IConsystems.CloudServices\IConsystems.UserClient\Views\Home.xaml.cs:line 562
I downloaded the NetAdvantage_WPFAndDV_20111.2053_SR.zip file, ran the setup, referenced the 11.1.20111.2053 in my project, rebuilt, and so far this particular issue appears to be corrected.
We’ve made a little more fixes. Try downloading the latest service release (from yesterday) and see if this issue is fixed.
http://ko.infragistics.com/dotnet/netadvantage/wpf/data-visualization.aspx#Downloads
Hi tball457,
Thanks for the info. Yes, I tested this issue on a PC with no touch screen and it is working fine.
So this issue is linked to touch screen monitors.
FYI: I am seeing the same error but only if my touch screen monitor is enabled (USB cable plugged in).