RadPageView DragDrop - copy with Control key

1 Answer 26 Views
PageView
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Radek asked on 13 Nov 2025, 08:42 AM
Hello, When I drag and drop an item in PageView, I would like it to create a copy of the item (page) when holding the Control key—either within the same PageView or between different PageViews. Could you help me achieve this? Thank you.

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 17 Nov 2025, 01:15 PM

Hi Radek,

Thank you for reaching out to us.

The required behavior is not fully supported by the control. In general, the control provides built-in drag-and-drop functionality. You can refer to the RadPageViewDragDropService article. Additionally, you can review the forum thread titled "DragDrop Between RadPageViews," where drag-and-drop between two RadPageViews was discussed. The specific issue here relates to the logic involving the control key. You will need to write custom logic to handle this scenario. 

I used the code from the forum thread and extended it to cover most of your scenarios. The tricky part is that the default logic is triggered by the mouse left button. The code I used employs the mouse right button for drag-and-drop logic. I couldn't find a way to interfere with the default logic except by rewriting it. That is why I have decided to demonstrate your requirement using the right mouse button. You can find the custom project attached to this reply. Feel free to modify the code or extend it to cover all your scenarios. Keep in mind that this is a custom solution and it may not work in all cases. Still, I think that this will be a good starting point.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Radek
Top achievements
Rank 2
Iron
Iron
Iron
commented on 28 Nov 2025, 08:08 AM

Hi,
Thank you for your response and the provided code. It works well, though full support for Ctrl + drag‑and‑drop would be an improvement.

Radek

 

 

Tags
PageView
Asked by
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or