I added all references in my project and did everything described in Infragistics documentation but I can't create a simpke xamDataTree.
here is my Xaml code and corresponding error
<ig:XamDataTree x:Name="MyTree" ItemsSource="{Binding Source={StaticResource odptree}}"> <ig:XamDataTree.GlobalNodeLayouts> <ig:NodeLayout Key="CategoryLayout" TargetTypeName="Category" DisplayMemberPath="CategoryName"> </ig:NodeLayout> </ig:XamDataTree.GlobalNodeLayouts> </ig:XamDataTree>
Error 27 A value of type 'NodeLayout' cannot be added to a collection or dictionary of type 'GlobalNodeLayoutCollection'. C:\Users\Ali\Documents\Visual Studio 2010\Projects\DG\GUI\MVVMTr-1\TestW.xaml 20 17 DG.View
Hello Mo,
Thank you for your post. I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Looking forward for your reply.
Is it possible for you to send me the sample where this is reproduced and also tell me the exact version of VS and .NET you are using, so I could try to reproduce this on my side and investigate this further for you?
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.