Hello Jabor,
Thanks for provided information. I research our source code with mentioned classes, but at a fisrt look everything seems to be correct. The last changes in that part of our code are from 2008. Could you please provide us more details about your issue. Also if you are able please send us small sample with exact steps to reproduce it. Please explain what is your expectation.
Thanks in advance !
Regards
Hello Georgi,
I would expect, that InitializeBindingManager() sets the DataBinding to datasource=SubNodesCollection of Root2, datamember=””. ordatasource=Root2, datamember=”Subs”.
Of course this is also a lack of .Net Framework. If your origin DataSource is RootNodesCollection, then you can not create a 'full datamember' that points to one of the SubNodesCollection.
Hello ,
Could you please test the following sample with the latest service release of 12.2 and let me know I the issue is still reproducible with it.
I am waiting for your feedback.
Hello,
I already have responded you trough the case
Thank you for Using Infragistics Components.
thank you Hristo. I will wait for the answer from your developers.
Could you reproduce the problem with the BindingSource (I see the data only if I move the mouse over the tree)?Should I open a new thread for it?
I have created a support ticket for you in order to investigate this further. The id of the ticket is CAS-103530-R2M7B5. So I will update you trough the case as soon as I have information for you.
Thank you for using Infragistics components.
you can test it also. I have attached a modified sample.
You have to set a BreakPoint at Form1.cs Row 51.Start the application and extend Root2In the CallStack load the symbols tho the row Infragistics4.Win.UltraWinTree.v12.2.dll!Infragistics.Win.UltraWinTree.TreeNodesCollection.GetBoundList() Zeile 4065 + 0xe Bytes C#Step forward with the debugger to the method InitializeBindingManager().
By the way, I have an other problem too, what you can check.If I use a BindingSource as DataSource (Form1.cs Row 35) and click in the application on the ultraButton1, I can see the nodes in the tree only if I move the mouse over the tree. If the DataSource is the BindingList, I can see the nodes immediately.
Hi Hristo,
I have tested your sample with the Version 12.2.20122.1006, and it has the same result:
fullDataMember = "Subs"dataSource = rootDataNodesCollection instead of Root2
TreeNodesCollection.InitializeBindingManager() works only if the dataSource is an object, but fails with a list.This is a shortcomming of the .Net DataBindig. You can not define in the binding, which item in the list it should take.It should be "rootDataNodesCollection[1].Subs", but now it is only "rootDataNodesCollection.Subs".