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.