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
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
<
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"
>
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
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.
I have the same problem. And the popup calendar is cut off even with enough vertical space.
In this knowledge base article you will find a solution to this problem.
Regards,
Boyan Dimitrov
Telerik
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.
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