我正在尝试使用此代码导出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。什么可以
造成这个问题?
最佳答案
做这个:
DayPilotScheduler1.Width = Unit.Percentage(100);
关于java - 图像导出DayPilot Scheduler,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/18119791/