Radscheduler rowheight expands when appointment is present

3 posts, 0 answers
  1. Kanchana
    Kanchana avatar
    6 posts
    Member since:
    Nov 2011

    Posted 30 Nov 2011 Link to this post

    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.

    <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;
                }
  2. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 02 Dec 2011 Link to this post

    Hi Kanchana,

    Please try setting the ShowInsertArea property to false:
    <TimelineView UserSelectable="false" ShowInsertArea="false" />


    Greetings,
    Kalina
    the Telerik team
    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 their blog feed now
  3. Kanchana
    Kanchana avatar
    6 posts
    Member since:
    Nov 2011

    Posted 05 Dec 2011 Link to this post

    Thanks Kalina.. Worked like magic
Back to Top