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

Date picker gets cut off with no resources or appointments

5 Answers 232 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Denis Buchwald
Top achievements
Rank 1
Denis Buchwald asked on 31 Dec 2010, 03:28 PM
Hi everyone,

Using the rad scheduler in timeline view and there appears to be a display bug with the date picker when no resources or appointments are loaded for the scheduler (see attached image). Essentially, the display of the date picker gets cut off. I am sure there is a style which can be overridden to ensure the picker displays properly, just can't seem to locate the right one.

Any help would be appreciated.

Cheers,

Derek

5 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 05 Jan 2011, 12:37 PM
Hi Derek Brown,

Unfortunately I can not reproduce the view of the RadScheduler as on your picture. Even if RadScheduler has no appointments and no resources it is not shown like yours. Could you please send me sample page that reproduces the issue so I can inspect it and help you?

Thank you!

Regards,
Veronica Milcheva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Denis Buchwald
Top achievements
Rank 1
answered on 05 Jan 2011, 02:41 PM
Hi Veronica,

The problem was first observed in chrome, but using a css hack I was able to fix the problem. Essentially when no appointment are returned (at least in chrome), the datepicker gets cut off. I used a little jquery to increase the height of the <div> container with a class name '.rsOverflowExpand'

var scheduler = $find("<%= DispatchScheduler.ClientID %>");
                
                if (scheduler.get_appointments().get_count() != 0) {
                    $(".rsOverflowExpand").css('height', 'auto');
                }
                else {
                    $(".rsOverflowExpand").css('height', '220px');
                }

This works fine, although again it is a hack. What's interesting is that the <div> which contains the top portion of the scheduler where the date picker is located had this css class name '.rsOverflowExpand' and yet I couldn't find it anywhere specified in the output of the terlerik resource.axds.

Cheers,

Derek
0
Veronica
Telerik team
answered on 10 Jan 2011, 09:36 AM
Hi Derek Brown,

Please accept my apologies for the late reply.

There is a similar problem which appears for the RadScheduler but there is a JavaScript error : "this.table[0].offsetHeight is undefined".  Is there any JavaScript error in your case? It is strange that the RadScheduler is not rendering at least the all-day row when there are no appointments and resources.

Could you please send me a sample project that reproduces the issue or at least the RadScheduler settings?

Thank you!

Kind regards,
Veronica Milcheva
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Software Development
Top achievements
Rank 1
answered on 22 Jul 2011, 08:43 AM
Hello,

I have a similar issue, i have a timeline view on Radscheduler and if there are less than 3 resources the popup calender gets cut off! How can i set its size?
Please look at the image attached.

Thanks

0
Peter
Telerik team
answered on 25 Jul 2011, 02:40 PM
Hi Jason,

Which version do you use? With later versions from 2011, RadScheduler renders with minimum height necessary to accommodate the popup calendar, even if there is few or no resources.

Kind regards, Peter
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

n/a
Top achievements
Rank 1
Veteran
commented on 11 Oct 2021, 08:55 PM

This still seems to happen inside of Timeline view - if the height of the Timeline is less than the Height of the Date Picker popup, the Date Picker Popup get chopped off
Peter Milchev
Telerik team
commented on 14 Oct 2021, 10:23 AM

In some views, the popup might be cut due to the small height of the Scheduler and the hidden overflow it has:

Tags
Scheduler
Asked by
Denis Buchwald
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Denis Buchwald
Top achievements
Rank 1
Software Development
Top achievements
Rank 1
Peter
Telerik team
Share this question
or