我正在尝试使用以下代码导出DayPilot调度器
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。什么可以
导致这个问题吗?
发布于 2016-04-20 16:02:22
执行以下操作:
DayPilotScheduler1.Width = Unit.Percentage(100);https://stackoverflow.com/questions/18119791
复制相似问题