ASP MVC Scheduler NET PDF

I’m trying to export to PDF without the online service because I can’t get it to format the way I would like. So I’m looking at the scheduler net example and I’m just going in circles as all the docs just go back to using the javascript methods which do not work at all.

[ValidateInput(false)]
public ActionResult Export()
{
var generator = new SchedulerPDFWriter();
var xml = this.Server.UrlDecode(this.Request.Form[“mycoolxmlbody”]);
MemoryStream pdf = generator.Generate(xml);
return File(pdf.ToArray(), generator.ContentType);
}

I tried scheduler.ToXML() method to convert my scheduler instance with data into XML file but that method does not exist… and the example does not at all explain where mycoolxmlbody is coming from…

Where is the example HTML View that triggers the MVC Controller for export?

Hi,
please check this demo s3.amazonaws.com/uploads.hipcha … lerPDF.zip