Calendar inside scheduler control cuts off when no records available for scheduler

10 posts, 0 answers
  1. Ashok
    Ashok avatar
    1 posts
    Member since:
    Jun 2010

    Posted 23 Aug 2010 Link to this post

    Calendar inside scheduler control cuts off when no records available for scheduler. Please see screenshot.

    Second question - How to default scheduler to the current week in the timeline view. It appears to always default to the first week.

    Thanks
    Ash
  2. Kevin Price
    Kevin Price avatar
    49 posts
    Member since:
    Sep 2012

    Posted 07 Dec 2010 Link to this post

    Same issue. Also note that I have tried to adjust the z-index in pre-render to see if that would help to no avail. Need a quick fix for this without having to change versions of the controls. Currently on Q1 2010 - 2010.1.309.35
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 10 Dec 2010 Link to this post

    Hi Kevin Price,

    Could you, please, explain in a bit more detail the issue you are experiencing?
    Also, once having the knowledge what the issue is, we should define what reproduces it - could you, please, post a page, reproducing the problem and the algorithm that I should use in order to test the problem at my side.


    Regards,
    Nikolay Tsenkov
    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. Kevin Price
    Kevin Price avatar
    49 posts
    Member since:
    Sep 2012

    Posted 10 Dec 2010 Link to this post

    To reproduce this is rather easy. Create a RadScheduler control and set its GroupingDirection to "Vertical". In my instance, I have a resource called "Positions" and all views have the ShowHoursColumn set to false. The attachments show the results. I've also tried setting a default  height for the RadScheduler and setting overflow-behavior to expand. Know that this does not happen when there are enough resources on the left to provide space for the calendar to drop down. This is unfortunate as in this application, there may be times when only 1 resource has any appts in the database so that will be the only one shown.
    <telerik:RadScheduler ID="RadScheduler1" runat="server" GroupingDirection="Vertical"
        GroupBy="Positions" DataDescriptionField="notes" DataEndField="end" DataKeyField="roster_id"
        DataSubjectField="title" WeekView-ShowHoursColumn="false" WorkDayEndTime="23:59" OverflowBehavior="Expand"
        WorkDayStartTime="00:00" MinutesPerRow="480" ShowAllDayRow="false" DayView-ShowHoursColumn="false"
        Skin="whoskin2" EnableEmbeddedSkins="false" CssClass="local" TimelineView-NumberOfSlots="14"
        TimelineView-TimeLabelSpan="2" TimelineView-SlotDuration="12:00:00" CustomAttributeNames="contact_id,position_id, position_text, incident_id, contact_name,do_notify,notify_type,duty_type"
        ShowFooter="false" OnAppointmentCreated="RadScheduler1_AppointmentCreated" RowHeight="30"
        OnAppointmentDataBound="ScheduleApptBound" AppointmentContextMenuSettings-EnableDefault="true"
        OnClientTimeSlotContextMenuItemClicked="onContextMenuClick" OnClientAppointmentInserting="onAppointmentInserting"
        OnClientAppointmentMoving="onAppointmentMoving" OnClientAppointmentMoveEnd="onAppointmentMoveEnd"
        OnClientAppointmentResizing="onAppointmentResizing" OnClientAppointmentResizeEnd="onAppointmentResizeEnd"
        EnableDescriptionField="true" OnNavigationCommand="RadScheduler1_NavigationCommand"
        OnClientFormCreated="schedulerFormCreated" EnableResourceEditing="true" StartEditingInAdvancedForm="true"
        StartInsertingInAdvancedForm="true">
  6. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 15 Dec 2010 Link to this post

    Hi Kevin,

    As we stated at the support ticket, you submitted regarding this problem:
    "The problem is that the date picker dropdown can't leave RadScheduler's frame. Unfortunately there's no perfect solution for this which to work in all browsers, that's why we still haven't fixed it internally."

    I am attaching the same workaround that we have provided there, so other people can benefit from it, too.


    Regards,
    Nikolay Tsenkov
    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.
  7. Marbry
    Marbry avatar
    123 posts
    Member since:
    Aug 2012

    Posted 30 Nov 2013 Link to this post

    I'm having the same issue, the date selector gets truncated when there are no records visible in the current view.

    Any way to get this resized for the timeline view?

    I noticed the first level wrapper around the table that constitutes the calendar has it's overflow set to hidden as an inline style.  Tried overriding this but it didn't seem to work.
  8. Blas
    Blas avatar
    55 posts
    Member since:
    Dec 2007

    Posted 03 Dec 2013 Link to this post

    Hello,

    I have the same problem. And the popup calendar is cut off even with enough vertical space.
  9. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 04 Dec 2013 Link to this post

    Hello,

    In this knowledge base article you will find a solution to this problem.


    Regards,
    Boyan Dimitrov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  10. Marbry
    Marbry avatar
    123 posts
    Member since:
    Aug 2012

    Posted 04 Dec 2013 Link to this post

    Thanks Boyan, I may examine that when I have more time.


    I was hoping for something a bit simpler.  I still suspect the issue is related to that middle wrapper element around the calendar table that is generated with the overflow truncated style setting.  This truncates the calendar at the edge of the containing element *inside* the parent scheduler control, rather than at the actual border of the scheduler.



    So even though the scheduler control itself has plenty of room to display the calendar, if I don't currently have any visible appointments it will still truncate the calendar prematurely.



    As Nikolay stated above, "The problem is that the date picker dropdown can't leave RadScheduler's frame. Unfortunately there's no perfect solution for this which to work in all browsers, that's why we still haven't fixed it internally."  but that is not the observed behavior.  It is not being truncated at the edge of the scheduler, but rather at the edge of an element internal to the scheduler.



  11. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 09 Dec 2013 Link to this post

    Hello,

    I would like to clarify that even when there are no visible appointments in the RadScheduler TimelineView  there is space rendered by default in order to show the calendar. Please refer to the attached screenshot. As you can notice there are no visible appointment but the calendar is shown as expected. Please note that the calendar will be cut off if you set explicitly the RadScheduler height property to value that is lower than the calendar height.

    Regards,
    Boyan Dimitrov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017