Date picker gets cut off with no resources or appointments

6 posts, 0 answers
  1. Denis Buchwald
    Denis Buchwald avatar
    29 posts
    Member since:
    Apr 2010

    Posted 31 Dec 2010 Link to this post

    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
  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 05 Jan 2011 Link to this post

    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.
  3. Denis Buchwald
    Denis Buchwald avatar
    29 posts
    Member since:
    Apr 2010

    Posted 05 Jan 2011 Link to this post

    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
  4. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 10 Jan 2011 Link to this post

    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.
  5. Software Development
    Software Development avatar
    5 posts
    Member since:
    Jun 2011

    Posted 22 Jul 2011 Link to this post

    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

  6. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 25 Jul 2011 Link to this post

    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!

Back to Top