Selected Appointments and TimeRuler in TimelineView

2 posts, 0 answers
  1. Alex
    Alex avatar
    15 posts
    Member since:
    Nov 2010

    Posted 19 May 2016 Link to this post


    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.




  2. Yana
    Yana avatar
    4603 posts

    Posted 24 May 2016 Link to this post

    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:

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top