2

このコードを使用して、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 のように画面に表示される日付のみです。なにができる

この問題を引き起こしますか?

4

1 に答える 1

-1

これを行う:

DayPilotScheduler1.Width = Unit.Percentage(100);
于 2016-04-20T08:02:22.410 に答える