I have an issue with a XamDataTree,
It is bound to an observablecollection of hierachical data, and populates just fine when items are added, or parent items are removed.
The issue appears when removing Child Nodes from the Collection, as the tree doesnt update and despite the underlying collection correctly updating, the Tree still shows the item that has been removed.
I have tried cloning, clearing then repopulating the collection, using tree.UpdateLayout(), Invalidating etc and nothing works...
Can you help as this it pretty urgent..?
Thanks
Hello Matt,
I have been looking into your post and I made a simple project trying to represent the behavior you are suggesting. In my case the XamDataTree update its nodes as soon as the observable collection it is bound to is changed. I tested this with both Infragistics SL5 v11.2 and SL5 v12.1. In my sample if the button is pressed, the first child node of the categories is being removed and the tree is being updated.
Please feel free to modify this sample in order to represent your issue or attach your isolated sample so that I can suggest you a solution.
I am checking if this is still an issue for you.
If you require any further assistance please do not hesitate to ask.
I am just checking if my last reply was helpful for you.
Hi Maria,
This was very helpful
Thank you for your feedback. I am glad that this approach helps you.
I am interested in knowing this solution. Mine is a silverlight application and so I could not open this C# project file. Can you send this files details in text format for me to review the steps followed.
Thanks.
Hello Gayathri,
The attached sample project is a Silverlight application and the reason you cannot open it could be that it is being created by a different version of Visual Studio. In this case the files could be opened in an editor after the attached archive is unzipped. I am uploading the main page files in a text format as you suggested. Please let me know if you need additional assistance.