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

Generate Slots on Drag initialize

1 Answer 64 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Brandon
Top achievements
Rank 1
Brandon asked on 28 Jul 2015, 03:37 PM

Is there the capability to generate and display slots when an appointment is started to be dragged?

I.e.  I have an appointment and I want to restrict that it can only be moved within a 2 day window either direction.  I can do the CanDrop/Drop in a CustomDragDropBehavior to do the actual restriction, however I'd like to visually show the user that they cannot move it 3 days.

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 31 Jul 2015, 08:16 AM
Hi Brandon,

What we could suggest you for your concrete scenario is to make the Slots you do not want to drag and drop an appointment on ReadOnly. By design making the Slots ReadOnly will prevent you from creating, editing or dropping Appointments in them - thus it will make it easily for the user to distinguish the restriction it has for the drag and drop of the appointments. For a more detailed information about the suggested above approach you could find on the following link from our help documentation:
http://docs.telerik.com/devtools/silverlight/controls/radscheduleview/features/speacialslots

We also suggest you to check the following sample project form our SDK Repository that demonstrates how to user get notified that they could not drag/drop appointments if the slots are special:
https://github.com/telerik/xaml-sdk/tree/master/ScheduleView/SpecialSlotsZIndex

Hopes this helps.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ScheduleView
Asked by
Brandon
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or