search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

DaypilotMonth Shows Repeated week for November month

Asked by Kiran Chandu
12 years ago.

Hi Dan,

DaypilotMonth is repeating the last week for november month when i add BeforeCellRender event.

Please look at below code.

Design HTML Code


<html xmlns="" >
<head runat="server">
<title>Untitled Page</title>

<form id="form1" runat="server">
<DayPilot:DayPilotMonth ID="DayPilotMonth1" runat="server"
DataEndField="StartDate" DataStartField="StartDate"
DataTextField="TicketNo" datavaluefield="TicketNo"
EventStartTime="false" EventEndTime="false"

Codebehind File


public partial class Test : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
DayPilotMonth1.StartDate = DateTime.Parse("11/12/2009");
DataSet ds = new DataSet();
DataTable dt = new DataTable("Tickets");
dt.Columns.Add(new DataColumn("TicketNo", typeof(int)));
dt.Columns.Add(new DataColumn("StartDate", typeof(DateTime)));

dt.Rows.Add(100, "11/04/2009");
dt.Rows.Add(101, "11/11/2009");
dt.Rows.Add(102, "11/15/2009");
dt.Rows.Add(103, "11/24/2009");
dt.Rows.Add(104, "11/26/2009");

DayPilotMonth1.DataSource = dt;

protected void DayPilotMonth1_BeforeCellRender1(object sender, DayPilot.Web.Ui.Events.Month.BeforeCellRenderEventArgs e)


At present i am using daypilot 5.7.1912 version.

Please advice me how to fix it.


Kiran Chandu

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.