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

Setting backgroud for selectedslot

1 Answer 48 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
jeya
Top achievements
Rank 1
jeya asked on 15 Oct 2011, 12:30 PM
Hi,

In my scenario, the user will select a list of slots by holding left mouse button and Ctrl key from the keyboard. Once the mouse button is up the selected slots will be set as working hours for the respective resource. And the background color of the slots should be changed to some other color. How to achieve this? Any Help...

Regards,
Jeyakumar

1 Answer, 1 is accepted

Sort by
0
Accepted
Pana
Telerik team
answered on 18 Oct 2011, 12:24 PM
Hello Jeya,

You could create a button outside the RadScheduleView or a ContextMenu that will have the option to turn the selected slots into working hours.

RadScheduleView has SelectedSlot property that you could use to catch the selection and turn the slots into working hour slots by putting the appopriate slots into the SpecialSlotsSource of RadScheduleView.

Note the SelectedSlot may get null if no slots are selected or an AppoitnmentItem is selected instead of time slot.

All the best,
Pana
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ScheduleView
Asked by
jeya
Top achievements
Rank 1
Answers by
Pana
Telerik team
Share this question
or