Completed
Last Updated: 15 Feb 2019 17:02 by ADMIN
Daniel
Created on: 08 Jan 2019 10:27
Category: Scheduler/Reminder
Type: Bug Report
1
Minimum height for appointments in day and week view when EnableExactTimeRendering=true

Hello,

We have developed an ASP.NET application and a WinForms application that both uses Telerik RadScheduler. The applications share the same data.

We have set EnableExactTimeRendering = true to prevent appointments to falsely be displayed as collisions.

Our problem is that appointments with short durations (0-4 minutes) are totally invisible in the WinForms Scheduler. In the ASP.NET scheduler all appointments are visible. An appointment with no duration (0 minutes) is shown as 30min appointment in ASP.NET while 1-minute appointments are shown as a thin line which is ok as we use tooltips for all appointments.

How can we make all appointments visible in WinForms and still use EnableExactTimeRendering? Of course, the rendering will not be exact for small durations but that is better than not showing the appointments at all. We would like to set a minimum size for appointments.

Best regards,
Daniel Gidlöf

 

(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
6 comments
Dimitar
Posted on: 15 Feb 2019 17:01
Hello,

A fix will be available in Telerik UI for WinForms version R1 2019 SP1.

Fix consists of updated layout logic of RadScheduler to respect MinSize property of the appointment elements in all the views. This will allow users to set a minimum size for the appointments irrespective of the EnableExactTimeRendering setting. 

This can be achieved by creating custom appointment element, as describe here, and setting MinSize to "MyAppointmentElement".

Regards,
Dimitar
ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 15 Jan 2019 10:51
Hello, Daniel,        

I am glad that you have found a suitable solution for your scenario. Using a visual end time field sounds OK to me. Feel free to use it if it meets your requirements. The feature has already been logged so it would be planned for some of the future releases. Make sure that you follow the feedback item and thus you will be notified once the item is changed. 

Should you have further questions please let me know.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Daniel
Posted on: 10 Jan 2019 13:44

Hello,

Thank you. Changing the time scale is not an option and i don't think zero duration appointments will become visible regardless of the timescale.

I have solved the problem by letting the control add a visual end time-column to the data source. The value is set to 22minutes after start time if duration is less than 22 minutes. If duration is 22minutes or more the value is set to the real end time. I then let the appointment use that visual end time for rendering and uses the real end time for all other appointment information.

But of course it would be better if the scheduler did this by default.

Best regards,
Daniel Gidlöf 

ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 10 Jan 2019 06:43
Hello, Daniel, 

Indeed, it is a reasonable request that there should be some minimum size for the appointments when the EnableExactTimeRendering is enabled. I have also updated your Telerik points for reporting this.

However, due to the specificity of the appointments' layout I can suggest you to adjust the time scale. Just right click on the ruler on the left side and select an appropriate time scale.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Daniel
Posted on: 09 Jan 2019 13:13

Hello,

Thank you for your reply. Having appointments that are invisible makes no sense. How can the user know that more appointments will be visible when zooming in? There must be a way to make sure all appointments are high enough to be visible and still have exact time rendering for appointments that are longer than the minimum visible size? That works in Outlook, RadSchedular for ASP.NET and all other schedulars i have seen.

Best regards,
Daniel Gidlöf

ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 08 Jan 2019 14:03
Hello, Daniel,  

The purpose of the EnableExactTimeRendering property is to arrange appointments according to their start time and duration. There is no minimum size for the appointments. Due to the great difference in the amount of time, which different time scales represent, appointments might become too small to render accurately in larger time scales. The recommended approach in such cases is to adjust the time scale. Just right click on the ruler on the left side and select an appropriate time scale.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.