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

Navigation behavior

3 Answers 141 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Christie Admin
Top achievements
Rank 1
Christie Admin asked on 11 Nov 2015, 01:48 PM

Hi,

 

in my ScheduleView, I always completly fill it with Appointments and SpecialSlots for visual purpose, I mean, each SpecialSlot and Appointment contain a UserControl with a border. Each day contain at least 2 resources.

I would like to implement a nivagtion behavior which consist of using the arrow keys to navigate through the SpecialSlots and Appointments and when the navigation behavior return a SpecialSlot or an Appointment, I would like to change the border color of the UserControl to indicate a new selected SpecialSlot or a new selected Appointment in the control.

 

I would like to know how it's possible to do it...?

 

Thank's

Alain

3 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 16 Nov 2015, 09:16 AM
Hello Alain,

What we could suggest you in order to achieve the desired behavior of RadScheduleView is to subscribe to the KeyDown event of RadScheduleView. When an arrow key gets pressed the event will be fired and inside it you could implement your custom logic - to select the desired Slots and Appointments.

However, if you need to modify the predefined and default behavior of the arrow keys you need to create a class of your own that inherits RadScheduleView and override the OnKeyDown method.

Hope this helps.

Regards,
Nasko
Telerik
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
0
Christie Admin
Top achievements
Rank 1
answered on 30 Nov 2015, 02:15 PM

Hi Nasko,

 

can you provide me a small demo on how to handle the navigation through the SpecialSlots/Appointments?

 

Thank's

Alain

0
Nasko
Telerik team
answered on 02 Dec 2015, 02:14 PM
Hi Alain,

Attached you could find a sample project that demonstrates the described in my previous response approach. 

Please, check it and let us know if it worked for you.

We hope this will help you.

Regards,
Nasko
Telerik
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
Tags
ScheduleView
Asked by
Christie Admin
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Christie Admin
Top achievements
Rank 1
Share this question
or