I've been building an application that shows both a list of employees and an organization chart. They are on separate tabs. When the org chart tab is selected everything works fine, but when the list tab is showing and the collections are refreshed I am receiving a StackOverflowException.
I've created a simple example to demonstrate the issue:
As an interim measure I've bond the charts Visibility to the tabs IsSeleted property. This seems to stop the issue.
Is this a bug and/or a problem with my setup (Windows 7 x64, .net 4)?
Hi chinupson,
I have been looking through the sample project you have provided for us and couldn’t spot anything out of the ordinary with it. This is why, I am going to forward this issue to our development team for their assessment on the matter.
I will update you shortly on my progress.
OK - FYI, the exact error I receive is "An unhandled exception of type 'System.StackOverflowException' occurred in PresentationCore.dll". It happens only when the OrgChart is hidden by the list tab.
Although this is built using VS2010 and targeted at .net 4. I have installed the beta version of VS11 and .net 4.5.
OK - As I mentioned I can work around the issue by binding it's visibility property to the tab's isSelected property. But thanks for the update.
Visibility="{Binding ElementName=tabOrg, Path=IsSelected, Converter={StaticResource BoolToVisibility}}"
Hello,
Thank you for the follow-up information. I have logged this with development under ID:108226 and I have also created a support ticket on your behalf: CAS-88338-SWR486 and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://ko.infragistics.com/Membership/MySupport.aspx