This is a migrated thread and some comments may be shown as answers.

Dynamic RadDiagram

1 Answer 92 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Erhan
Top achievements
Rank 1
Erhan asked on 24 Dec 2014, 12:19 PM
Hey All,

I am using RadDiagram for displaying selectedObject is a row in database and its parents and childs .I need counting parent and child for selectedObject.I need an aprroach can ı do it in view or ı need to configure with viewmodel(I am deeveloping MVVM) . I need all diagram will be dynamic for me .


I wish ı could explain my issue . Best Regards

1 Answer, 1 is accepted

Sort by
0
Accepted
Peshito
Telerik team
answered on 26 Dec 2014, 02:59 PM
Hello,

RadDiagram does not work with database table. It works with GraphSource. You will  need to implement custom logic that will create the GraphSource for the diagram out of your database table. You can find more information on the matter in our DataBinding help topic. Onto your question about MVVM scenario, please refer to our Use "MVVM in RadDiagram" help topic or take a look at the SDK MVVM sample.

Hope this helps you start with.

Regards,
Peshito
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Diagram
Asked by
Erhan
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or