I am embedding a 2D Line Chart, XamChart in a user control, which builds fine, but when I embed that control in another - the parent control and all subsequent parent controls fail in Expression Blend with a 'The enumerator is not valid because the collection changed.' error.
I'm using code directly copied from the feature browser, with relative links fixed, and am assigning datapoints in the C# code behind.
If I build the project from Visual Studio, the project will run and the chart works correctly. But I can not edit any of the parent controls in Expression blend.
I found only one post that touched on this issue:
http://forums.infragistics.com/forums/p/24390/100889.aspx#100889
..and no resolution was ever posted.
Has this issue been looked into? Are there any resolutions?
Hello rablinz,
Has this issue been resolved?
I received the same error message with WPF DV 10.2 in Visual Studio 2010 when I was doing trial license expiration testing. I was able to solve the problem by deleting all content in the licenses.licx file. This file should be located in your project folder under the Properties subfolder.
This might be a different issue than you experienced, as I was advised that this is a common error message in .NET. I would suggest backing up the licenses.licx file and then deleting all content.
Elizabeth Albert
Localization Engineer
I was able to get the chart to work using the version (2009.2) we had running before I downloaded the latest release...
I had pretty much copied the code for the 'Line 2D Chart' and the supporting Resource Dictionaries, hoping I could do this part of the project with a minimum amount of development time ... wishful thinking, right? I should know better.
'Disconnecting' the chart from the resource dictionaries, which included the 'Chart2D.xaml' and 'ChartShared.xaml' files, and adding the elements in one by one and including all styling and animation explicitly inside the igCA:XamChart tag.. and got the chart to work, and look, the way I wanted it to.
I don't know what the underlying problem with including those two files as resources was, I went through them line by line and didn't find anything that was specifically throwing an error, but at this point, as long as It's working and I can move on, I'm not sure I care.....
Sorry, I've lost significant development time on this project trying to hunt down bugs or documentation that wasn't available online and then spend days waiting for responses to forum posts.
I found the information for downloading a service release and am doing that now.
I can't build the sample application, I get a 'no license information found' error..
We're definitely using an older version, from 2009.
Are you saying we have to upgrade to fix this bug? Do we have to purchase a new license in order to get the software we already purchased to work correctly?
This exception looks like an old issue to me. What version and the build are you using? I've just checked the 2D Line chart sample using version 10.1 (10.1.20101.2004 latest service release) and Expression Blend 3 but was not able to duplicate the exception.
Please, check out the attached sample project and let me know if you can duplicate the issue with it.