我正在尝试使用此代码导出 DayPilot Scheduler
DayPilotScheduler1.DataSource = dbGetEvents(DayPilotScheduler1.StartDate, DayPilotScheduler1.Days);//OPens only two Rows
DayPilotScheduler1.DataBind();
DayPilotScheduler1.CssOnly = false;
Response.Clear();
Response.ContentType = "image/png";
Response.AddHeader("content-disposition", "attachment;filename=print.png");
DayPilotScheduler1.DataBind();
MemoryStream img = DayPilotScheduler1.Export(ImageFormat.Png);
img.WriteTo(Response.OutputStream);
DayPilotScheduler1.CssOnly = true;
Response.End();
并且导出文件中的日期不涵盖从 DayPilotScheduler1.StartDate 到
DayPilotScheduler1.EndDate,但只有我在屏幕上看到的日期,比如 printscreen。什么可以
导致这个问题?