Using: InfragisticsSL4.Controls.Menus.XamDataTree.v11.1.dll Version: 11.1.20111.2115
The StackTrace of the exception is attached. I couldn't determine a way to include in this body without wacky re-formatting. Please let me know the best way to include code, etc.
No time right now to create a short example that demonstrates the problem. So, I'm including hopefully a clear descrition so you can see my scenario.
I have an XamDataTree whose ItemsSource is a CollectionViewSource whose Source is a hierarchical ObservableCollection. The exception occurs when I add an item to the collection and then call Refresh() on the CollectionViewSource. I have switched to a Silverlight TreeView and no longer get the exception. But, I'm missing some of the functionality afforded by your control and would like to get this issue resolved.
Please help ASAP.
Hello jgreene274,
I have been looking into your issue and have tried to create a sample in order to reproduce the problem. I am attaching it , so you could review it and modifiy it in your case. I was able to successfully add items to XamDataTree in that sample. I am awaiting your response. Thank you in advance!
Regards,
Nikola.
Hi Nikola,
I have added line 28 to MainPage.xaml.cs: "dataSource.View.Refresh();" Although the stacktrace for the NullReferenceException is different, I believe this pretty well mimics my application. I have attached the modified MainPage.xaml.cs.
Oh, although I don't believe it impacts the result, there is one other thing I changed. I changed the Infragistics references from 10.3 to 11.1.
Thank you very much for your help,
Joe
I just checked the "MySupport" page and this issue still shows status: "In Development". I really, really need this fixed. Any way to find out how much longer this will take?
Hello,
We have shipped out a new service release where your issue is resolved. I'd be glad to find out if you had tested it out and if it had met your requirements.
You can download the Service Releases by logging to our web site and going to My IG \My Keys and Downloads.
I appologize, but there was some issue in the CHS system and the ticket doesn't change its state.
Thank you for using Infragistics Components.
I have tried Infragistics 2011.2 with my short demo program and it still has the problem. I get a NullReferenceException on line 28 of MainPage.xaml.cs after clicking the Add button twice.
Source for the demo program is attached.
I have double checked you issue and I noticed that in the RTM of version 11.2 it is reproduced, but in the latest Service Releases of 11.1 and 11.2, which are as follows 11.1.20111.2169 and 11.2.20112.2045, the issue no longer exists, so please check your specific version of 11.2 and if it is the RTM(11.2.20112.1010), I suggest you download the latest Service Release of 11.2 by logging to our web site and going to My IG \My Keys and Downloads. Please this helps you or you need further clarifications on this matter.
Looking forward for your reply.
Hi Stefan,
The service release solved my problem. Sorry I overlooked it earlier and just assumed that 11.2 RTM would have included the fix.
Thank you very much,
Hello Joe,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.