Hi,
I am using Radscheduler for checking room availability as in one of your demos. However, I am using the timeline view instead of day view as I want the timescales at the top. There are 2 issues in this.
1. Even though I set the row height, it expands automatically for rows having an appointment. (Please see attached snapshot)
2. The previous and next buttons on the navigation pane work only one day back and forward and no further. How canI correct this? Or if this is the default behaviour in the tiemline view, how can I hide these buttons alone and not the calendar as I need navigation to see availability for other days
Code snippet is below. Any help appreciated.
Thanks.
I am using Radscheduler for checking room availability as in one of your demos. However, I am using the timeline view instead of day view as I want the timescales at the top. There are 2 issues in this.
1. Even though I set the row height, it expands automatically for rows having an appointment. (Please see attached snapshot)
2. The previous and next buttons on the navigation pane work only one day back and forward and no further. How canI correct this? Or if this is the default behaviour in the tiemline view, how can I hide these buttons alone and not the calendar as I need navigation to see availability for other days
Code snippet is below. Any help appreciated.
Thanks.
<
telerik:RadScheduler
runat
=
"server"
ID
=
"rsBookings"
DataSourceID
=
"odsBookings"
RowHeight
=
"50px"
TimelineView-HeaderDateFormat
=
"dd/MM/yyyy"
DataKeyField
=
"BookingID"
DataSubjectField
=
"Description"
DataStartField
=
"StartDate"
DataEndField
=
"EndDate"
GroupBy
=
"Room"
GroupingDirection
=
"Vertical"
StartEditingInAdvancedForm
=
"false"
SelectedView
=
"TimelineView"
TimelineView-TimeLabelSpan
=
"1"
TimelineView-SlotDuration
=
"00:30:00"
TimelineView-NumberOfSlots
=
"48"
TimelineView-ColumnHeaderDateFormat
=
"HH:mm"
DayStartTime
=
"00:00"
DayEndTime
=
"23:59"
ColumnWidth
=
"80px"
AllowDelete
=
"false"
AllowEdit
=
"false"
AllowInsert
=
"false"
CustomAttributeNames
=
"Description, CompanyName, BookingID"
OnDataBound
=
"rsBookings_DataBound"
>
<
AdvancedForm
Modal
=
"true"
/>
<
TimelineView
UserSelectable
=
"false"
/>
<
WeekView
UserSelectable
=
"false"
/>
<
MonthView
UserSelectable
=
"false"
/>
<
DayView
UserSelectable
=
"false"
/>
<
ResourceTypes
>
<
telerik:ResourceType
KeyField
=
"RoomID"
Name
=
"Room"
TextField
=
"Name"
ForeignKeyField
=
"RoomID"
DataSourceID
=
"odsRooms"
/>
</
ResourceTypes
>
<
AppointmentTemplate
>
<
a
href='BookingDetails.aspx?BookingID=<%# Eval ("BookingID") %>'><%# Eval("Description") %></
a
>
<
br
/>
<%# Eval("CompanyName")%>
</
AppointmentTemplate
>
<
TimeSlotContextMenuSettings
EnableDefault
=
"true"
/>
<
AppointmentContextMenuSettings
EnableDefault
=
"true"
/>
</
telerik:RadScheduler
>
Code Behind:
protected void Page_Load(object sender, EventArgs e)
{
rsBookings.SelectedDate = DateTime.Today;
}