Hi.
Is there a way to determine the type of the SelectedSlot property on the RadScheduleView control?
I've got a DayView definition setup on my ScheduleView.
I've created a class called LunchSlot inherited from the base type of Slot. This class has some extra properties associated with it.
When I'm loading the appointment data for the Schedule control I also load the lunch definition for a resource, for example Lunch has a recurrence pattern from 1pm - 2pm every day. So I create my LunchSlot object with this recurrence pattern, add it to a collection and bind it to the SpecialSlotsSource of the ScheduleView.
The Lunch slots show up in the scheduleview all ok with the default gray colour.
During the AppointmentCreating event I want to determine if the SelectedSlot is now a LunchSlot or just a regular Slot. Is there any way to do this?
If I double click on a slot between 1pm - 2pm, the SelectedSlot property only seems to return a type of Slot and I have no way to determine if this was a Special slot or just a normal slot.
I still want the user to be able to create an appointment on a special slot (as it's not marked as ReadOnly), but I want to prompt the user for confirmation that they are about to create an appointment on a special slot before proceeding.