Hi,
i'm facing an issue with RadDiagram in WPF.
I'm using the diagram in MVVM by using the GraphSource in order to populate it.
I'm using your OrgChart project as sample to develop my application.
The app works perfectly the first time i startup it and the RadDiagram is populated correctly.
But whenever i try to modify the GraphSource (via "PopulateGraphSource" method as you use in OrgChart project) and then i layout my diagram, i get not all shapes displayed correctly on screen. I mean: the diagram route is correct, but some shapes are wrong and some others are not displayed.
I do not understand the issue, because it happens even if i populate the GraphSource with the same data that i use at startup time (At startup it works, at a second time it doesn't work, with same data).
The issue happens only when i call the "PopulateGraphSource" a second time. If i just call the Layout method of the diagram without calling "PopulateGraphSource", everything works correctly. But i need to change my GraphSource during the execution of the application.
The question has already been asked by another user but i guess he has exactly my issue at this link: http://www.telerik.com/forums/dynamically-change-graphsource-through-populategraphsource-method
Thank you in advance for your help.
i'm facing an issue with RadDiagram in WPF.
I'm using the diagram in MVVM by using the GraphSource in order to populate it.
I'm using your OrgChart project as sample to develop my application.
The app works perfectly the first time i startup it and the RadDiagram is populated correctly.
But whenever i try to modify the GraphSource (via "PopulateGraphSource" method as you use in OrgChart project) and then i layout my diagram, i get not all shapes displayed correctly on screen. I mean: the diagram route is correct, but some shapes are wrong and some others are not displayed.
I do not understand the issue, because it happens even if i populate the GraphSource with the same data that i use at startup time (At startup it works, at a second time it doesn't work, with same data).
The issue happens only when i call the "PopulateGraphSource" a second time. If i just call the Layout method of the diagram without calling "PopulateGraphSource", everything works correctly. But i need to change my GraphSource during the execution of the application.
The question has already been asked by another user but i guess he has exactly my issue at this link: http://www.telerik.com/forums/dynamically-change-graphsource-through-populategraphsource-method
Thank you in advance for your help.