Export To PDF (Can't load bind data),please see attached.

I try to run Export PDF from button,which i’m ok,no any error but data doesn’t be loaded to PDF.

My Scripts
cshtml
<input type=“button” value=“PDF” class=“dhx_cal_today_button”
onclick=“@Html.Raw(Model.ToPDF(Url.Action(“ExportPDF”, “Export”), DHTMLX.Scheduler.ExportColorScheme.Color))” />

Controller [HttpPost, ValidateInput(false)]
public ActionResult ExportPDF()
{
try
{
var generator = new SchedulerPDFWriter();
var xml = this.Server.UrlDecode(this.Request.Form[“mycoolxmlbody”]);
MemoryStream pdf = generator.Generate(xml);
return File(pdf.ToArray(), generator.ContentType);
}
catch (Exception ex)
{
throw new Exception(ex.Message);
}

    }

Result Of XML is:
“\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n”

It look like load default of each day,But No data binding.

Thanks for your support.


Hi,
can you attach a complete project? The client side serializer fails to bind events, maybe their sizes are getting calculated incorrectly and happens to be invalid due to page css settings. We need a demo in order to reproduce problem

Thanks for your help,
Now my agenda view can run export PDF,but still no work for schedule.
however my boss is ok,it’s enough.No need to export schedule to PDF.