2013-08-08 5 views
2

Я пытаюсь экспортировать DayPilot планировщик, используя этот кодImage Экспорт 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(); 

и даты в экспортном файле DonT охватывают весь период с DayPilotScheduler1.StartDate до

DayPilotScheduler1.EndDate, но только даты, которые я вижу на экране, например, на экране. Что может

вызвать эту проблему?

ответ

-1

ли это:

DayPilotScheduler1.Width = Unit.Percentage(100);