Hi,
I have a problem with the XamDataTree.
I have an editor to modify my Entity propreties where i can choose the Parent element in a XamDataTree. But when i choose an other parent, my tree is modified automatically, it moves my current entity on it new parent.
I don't want the DataTree change for different reasons. So how can i do that ?
Thanks a lot for response.
Cedric
Thanks a lot.
Have a nice day.
Hello Cedric,
A development issue has been created regarding the issue that you are having with reference number of 82764. I have created a support ticket for you in order to link the development issue to it, so you will be able to track the status of the issue. As soon as the issue is resolved you will be notified.
If you require any further clarifications please do not hesitate to ask.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Thanks for answer.
More specificaly, my problem is that : I disable chidren's nodes on my tree. But when i choose an other Parent, the children's tree become enable. I don't found any event on the control to catch that and to disable nodes. How can i do that ?
If no solution can be found in this way, i'll try to do your solution.
Cédric
I don't think that is possible, because the XamDataTree is a data bound control and always reflect the structure of its data source. So it is also not recommended to do that in order to ensure the correct functioning of the control.
Maybe you should try building a custom data source object which does not change when you change the parent in the Entity and implement a logic which refreshes the data source when you need to.
HTH,