Kendo UI Diagram - Save/Edit

2 posts, 0 answers
  1. pm
    pm avatar
    3 posts
    Member since:
    Oct 2015

    Posted 27 Oct 2015 Link to this post

    Hi,

    I have created a kendo ui diagram control using drag drop & trying to save the controls to a data source and retrieve the diagrams when users comes back to site next time.  I am new to kendo ui. Can someone share some sample code?

    Thank you.
  2. Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 29 Oct 2015 Link to this post

    Hello,

    You can persist the diagram by using dataSources for the shapes and the connections as demonstrated in this demo. The other option is to get the shapes and connections state using the save method and persist it and then apply the state the next time the page is loaded using the load method. I created an example that demonstrates this approach.

    Regards,
    Daniel
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top