Am getting error for the daypivot

Asked by Anonymous
12 years ago.

It Says, The type or namespace name 'Events' does not exist in the namespace 'DayPilot.Web.Ui' (are you missing an assembly reference?)
i Have included Daypivot dll in my project and here is my code
default.aspx
<%@ Register Assembly="DayPilot" Namespace="DayPilot.Web.Ui" TagPrefix="DayPilot" %>
asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
<daypilot:daypilotcalendar id="DayPilotCalendar1" runat="server" DataStartField="eventstart" DataEndField="eventend" DataTextField="name" DataValueField="id"
Days="7" OnEventMove="DayPilotCalendar1_EventMove" EventMoveHandling="CallBack" OnLoad="Page_Load">
</daypilot:daypilotcalendar>

default.aspx.cs
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
DayPilotCalendar1.StartDate = DayPilot.Utils.Week.FirstDayOfWeek(new DateTime(2009, 1, 1));
var obj = new cale();
obj.eventstart = DayPilotCalendar1.StartDate;
obj.en = DayPilotCalendar1.Days;

DayPilotCalendar1.DataSource = obj.dbGetEvents();

DayPilotCalendar1.DataBind();
}
}
protected void DayPilotCalendar1_EventMove(object sender, DayPilot.Web.Ui.Events.EventMoveEventArgs e)
// DayPilot.Web.Ui.Events.
{
var obj = new cale();
obj.eventstart = e.NewStart;
obj.eventend = e.NewEnd;
obj.id = e.Value;
obj.dbUpdateEvent();

obj.eventstart = DayPilotCalendar1.StartDate;
obj.en = DayPilotCalendar1.Days;
DayPilotCalendar1.DataSource = obj.dbGetEvents();
DayPilotCalendar1.DataBind();

}

Comment posted by Anonymous
12 years ago.

pls help

Comment posted by Dan Letecky [DayPilot]
12 years ago.

What is the version of the daypilot.dll that you are using?

Comment posted by Jaycee
12 years ago.

im facing the same problem, im using DayPilotLite-4.1.264. please help

Comment posted by Anonymous
12 years ago.

daypilot-lite

Comment posted by Anonymous
12 years ago.

sorry daypilot pro

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