RadScheduler supports built-in Copy/Paste/Cut functionality, which allows you to store appointments information in the Clipboard and then paste it in a different location. Using "Copy", "Paste" and "Cut" options gets quite useful when you want to enter the same content repeatedly.

You can control which Clipboard operations are allowed via the RadScheduler.AllowCopyPaste property. The possible values are listed below:

Disallow:The end user is not allowed to copy, paste and cut appointments.

AllowCopy: The end user is only allowed to copy appointments.

AllowCut: The end user is only allowed to cut appointments.

AllowPaste: The end user is only allowed to paste appointments.

AllowCopyPaste: The end user is only allowed to copy and paste appointments.

AllowCutPaste: The end user is only allowed to cut and paste appointments.

AllowCopyCut: The end user is only allowed to copy and cut appointments.

Copying is a pretty simple operation. After an appointment is selected, press Ctrl+C. Then, you can paste the content anywhere you need to, e.g. Notepad or RadScheduler itself.

RadScheduler introduces AppointmentsCopying event which occurs when the scheduler has prepared appropriate data formats that represent the copy selection. This event is fired once for each supported format: Text, Csv, ICal. You can cancel this event if the data is not allowed to be stored to Clipboard in a specific format.

Additionally, you can use the RadScheduler.Copy method in order to perform programmatically copy functionality.

Ctrl+V is the key combination performing the paste behavior in scheduler. The RadScheduler.Pasting event is appropriate for modifying the Clipboard data before pasting it in the scheduler. The following example demonstrates how to modified the copied string before inserting it in the scheduler:

Was this article helpful?

/

Give article feedback

Tell us how we can improve this article

Code samples are inaccurate / outdated.
I expected to find other / more information.
There are typos / broken links / broken page elements.
Content is inaccurate / outdated.
Other
By checking this box you consent to Progress contacting you by email about your response on this page.

Community

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.