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

Selected Appointments and TimeRuler in TimelineView

1 Answer 38 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 19 May 2016, 03:04 PM

Hello

I have 3 questions.

How can I hide the Timeruler on the top of the Scheduler (RadScheduleView on Timelineview) so only the date remains visible (see attachment)?

When I drag and drop one (or more) appointment else where the selectedappointment goes to any other appoinment except the dropped one. I want  the dragged appointment to remain selected. How can i achieve this?

Is there any way to disable the keyboard combination ctrl + mouse-left-button on (Appointment)Multiselection case? I only want to do it on code behind.

 

Sincerly

Kasar

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 24 May 2016, 01:26 PM
Hi Kasar,

Straight to your questions:

1. You will need to modify the TimeRulerItemTemplateSelector of RadScheduleView, just extract the default one from the used theme and modify HorizontalTimelineMajorItemTemplate and HorizontalTimelineMinorItemTemplate by removing the TextBlock from the template. In order to extract the selector you will need to go to UI for WPF installation folder, then Themes.Implicit folder, drill down to the theme that you're using (the default one is OfficeBlack) and open Telerik.Windows.Controls.ScheduleView.xaml. Then copy the TimeRulerItemTemplateSelector to your application and made the needed changes. All that is left is to apply it to the RadScheduleView instance through its TimeRulerItemTemplateSelector property.

2.  I am not able to reproduce this behavior - in general, when an appointment is dragged and dropped, it stays selected. Could you give us more details on the erroneous behavior you're experiencing?

3. You could modify the AppointmentsSelectionBehavior in order to disable selecting multiple appointments. Please check the following topic for further instructions on this:
http://docs.telerik.com/devtools/wpf/controls/radscheduleview/features/appointment-selection-behavior

Regards,
Yana
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
ScheduleView
Asked by
Alex
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or