Hi :
Can u tell me how to unbind the daypilot control ? For some scenario's i need to unbind the control and shows the rows and columns as blank.
Anonymous
-
7/26/2007 5:19:01 PM
You can try binding to an empty DataTable:
DataTable dt = new DataTable();
dt.Columns.Add("start", typeof(DateTime));
dt.Columns.Add("end", typeof(DateTime));
dt.Columns.Add("name", typeof(string));
dt.Columns.Add("id", typeof(string));
DayPilotCalendar1.DataSource = dt;
DayPilotCalendar1.DataBind();