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

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

9 Answers 183 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ashok
Top achievements
Rank 1
Ashok asked on 23 Aug 2010, 10:46 AM
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

9 Answers, 1 is accepted

Sort by
0
Kevin Price
Top achievements
Rank 1
answered on 07 Dec 2010, 10:50 PM
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
0
Nikolay Tsenkov
Telerik team
answered on 10 Dec 2010, 09:58 AM
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.
0
Kevin Price
Top achievements
Rank 1
answered on 10 Dec 2010, 04:17 PM
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">
0
Nikolay Tsenkov
Telerik team
answered on 15 Dec 2010, 03:28 PM
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.
0
Marbry
Top achievements
Rank 1
answered on 30 Nov 2013, 02:49 PM
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.
0
Blas
Top achievements
Rank 2
answered on 03 Dec 2013, 12:25 PM
Hello,

I have the same problem. And the popup calendar is cut off even with enough vertical space.
0
Boyan Dimitrov
Telerik team
answered on 04 Dec 2013, 04:21 PM
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.
0
Marbry
Top achievements
Rank 1
answered on 04 Dec 2013, 06:53 PM

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.



0
Boyan Dimitrov
Telerik team
answered on 09 Dec 2013, 02:18 PM
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.
Tags
Scheduler
Asked by
Ashok
Top achievements
Rank 1
Answers by
Kevin Price
Top achievements
Rank 1
Nikolay Tsenkov
Telerik team
Marbry
Top achievements
Rank 1
Blas
Top achievements
Rank 2
Boyan Dimitrov
Telerik team
Share this question
or