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

Copy & paste

1 Answer 88 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Niels
Top achievements
Rank 1
Niels asked on 03 Aug 2015, 06:02 AM

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

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 05 Aug 2015, 08:12 AM
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!
 
Tags
Diagram
Asked by
Niels
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or