Is there an easy way to find first editable slot for a given date?

4 posts, 0 answers
  1. Martha
    Martha avatar
    26 posts
    Member since:
    Aug 2011

    Posted 20 Dec 2011 Link to this post

    I am using SpecialSlotSource to define read only slots in my RadScheduleView.
    I need to programatically add an appointment on a date but I don't have a specific time of day. I want to find the first editable slot on that date but don't want to iterate thru all my SpecialSlots & recurrence patterns of those slots to find it.
    Is there an easier way to do this??

    I see there is a CanEditSlot function in the SlotSelectionBehavior, but it is protected, so I cannot access it.

    Any help with this would be greatly appreciated.
  2. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 21 Dec 2011 Link to this post

    Hi Martha,

    At this stage iterating through the SpecialsSlots collection  is the only way you can implement the task.

    Regards,
    Rosi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Martha
    Martha avatar
    26 posts
    Member since:
    Aug 2011

    Posted 21 Dec 2011 Link to this post

    That's what I was afraid you'd say.
    Are there any plans to make the CanEditSlot function public??
  5. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 21 Dec 2011 Link to this post

    Hello Martha,

    Yes, we have plans to make the ReadOnlyBehavior class public. However at this stage I cannot set an exact frame when this will be done.

    Kind regards,
    Rosi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top