Copy & paste

2 posts, 0 answers
  1. Niels
    Niels avatar
    13 posts
    Member since:
    May 2015

    Posted 03 Aug 2015 Link to this post

    Hi,

    I'm using the diagram control to visualize an underlying model. The user can then drag new elements onto the diagram and the underlying model is updated accordingly.

    But when the user uses Ctrl+C to copy and then Ctrl+V to paste some elements the diagram looks okay but the underlying model isn't updated. Is it possible to either listen for the paste event and then update the underlying model or disable pasting entirely?

    Thanks.

    Regards
    Niels

  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2770 posts

    Posted 05 Aug 2015 Link to this post

    Hi,

    How is the data source configured for the diagram?

    I've tried the Editing demo with shapes / connections data sources and it seems to persist changes correctly.
    You can look at the browser network console to confirm.

    Regards,
    T. Tsonev
    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