Generate Slots on Drag initialize

2 posts, 0 answers
  1. Brandon
    Brandon avatar
    15 posts
    Member since:
    Nov 2009

    Posted 28 Jul 2015 Link to this post

    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.

  2. Nasko
    Nasko avatar
    555 posts

    Posted 31 Jul 2015 Link to this post

    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:

    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:

    Hopes this helps.

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top