Hi Telerik Team,
i take your demo "Special and read only slots" and just changed the "UpdateReadOnlySlots()" inside "ViewModel.cs" class with the following :
in order to authorize edition only for the current day and the 10 past days.
for simple appointments it works, but when trying to create a recurrency appointment (even if taking care that all occurences are not in readonly zone), nothing appear :(
I will appreciate very much if there is a solution to get both recurrency and readonly slots working together like it's a key feature for our needs
Thanks by advance for your help,
Regards,
Maxence
i take your demo "Special and read only slots" and just changed the "UpdateReadOnlySlots()" inside "ViewModel.cs" class with the following :
private void UpdateReadOnlySlots()
{
this.readOnlySlots.Clear();
DateTime minDateTime = DateTime.Now.AddDays(-10);
DateTime maxDateTime = DateTime.Now.AddDays(1);
Slot readOnlyslotmin = new Slot() { Start = DateTime.MinValue, End = minDateTime, IsReadOnly = true };
Slot readOnlyslotmax = new Slot() { Start = maxDateTime, End = DateTime.MaxValue, IsReadOnly = true };
this.readOnlySlots.Add(readOnlyslotmin);
this.readOnlySlots.Add(readOnlyslotmax);
}
for simple appointments it works, but when trying to create a recurrency appointment (even if taking care that all occurences are not in readonly zone), nothing appear :(
- did i miss something or it is an error of the composant ?
- also, i wonder if your recurrency pattern take care of read only slots or not ? by not permitting user to create a reccurency appointment with some occurences in the readonly zone OR cutting automatically all the occurences that are in readonly slots
- one last strange behavior : when closing the recurrence dialog and returning to the editappointment dialog, the begindate and enddate are disabled => correct but then...when returning to recurrence dialog, removing recurrencerule and returning to the editappointment dialog, the dates are still disabled => not correct.
I will appreciate very much if there is a solution to get both recurrency and readonly slots working together like it's a key feature for our needs
Thanks by advance for your help,
Regards,
Maxence