I have a RadScheduler with a SelectedDate of 1/1/2010. I am using the timeline view with a SlotDuration = 2 and NumberofSlots = 183. I have a date that spans over 2 years, and yet is only displayed as a 6 month appointment. I also have another appointment that is supposed to be around 10 months long as is displaying as an appointment around 5-6 months. Please view attached screen shot to see my issue. I set the appointment subject texts to the start and end date of the appointments.
Any advice will be helpful. Below is my HTML for the RadScheduler.
Any advice will be helpful. Below is my HTML for the RadScheduler.
| <%@ Page Title="" Language="VB" MasterPageFile="~/NewStims/mpStims.master" AutoEventWireup="false" |
| CodeFile="BigCalendar.aspx.vb" Inherits="NewStims_Events_BigCalendar" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"> |
| <link href="Scheduler.Seths.css" rel="stylesheet" type="text/css" /> |
| <telerik:RadScheduler ID="scEvents" runat="server" Width="900px" Skin="Seths" |
| SelectedView="TimelineView" EnableEmbeddedSkins="False" CustomAttributeNames="EventStartDate, EventEndDate" |
| EnableCustomAttributeEditing="true" DataKeyField="EventID" DataSubjectField="EventTitle" |
| DataStartField="EventStartDate" FirstDayOfWeek="Monday" CssClass="slotClass" ShowDateHeaders="true" ShowHeader="true" |
| ShowNavigationPane="true" ShowViewTabs="true" LastDayOfWeek="Friday" DataEndField="EventEndDAte" OverflowBehavior="Expand" |
| ShowFooter="false" BackColor="Transparent" > |
| <TimelineView SlotDuration="2" NumberOfSlots="183" /> |
| <AppointmentTemplate> |
| <div class="divWrap"> |
| <%#CType(Eval("EventStartDate"), Date).Day.ToString()%> |
| </div> |
| <div style="width:70%;float:left"> |
| <%#Eval("Subject")%> |
| </div> |
| <div class="divWrap"> |
| <%#CType(Eval("EventEndDate"), Date).Day.ToString()%> |
| </div> |
| </AppointmentTemplate> |
| </telerik:RadScheduler> |