{"id":20084576,"url":"https://github.com/dhtmlx/scheduler-to-pdf-net","last_synced_at":"2026-05-24T16:33:46.621Z","repository":{"id":141418844,"uuid":"82189630","full_name":"DHTMLX/scheduler-to-pdf-net","owner":"DHTMLX","description":"dhtmlxScheduler v4.x to PDF print tool for .NET","archived":false,"fork":false,"pushed_at":"2017-02-17T10:45:14.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-01-13T02:12:40.238Z","etag":null,"topics":["asp-net","dhtmlx","dhtmlxscheduler","export","pdf"],"latest_commit_sha":null,"homepage":"https://dhtmlx.com ","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DHTMLX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-16T14:32:16.000Z","updated_at":"2017-06-21T10:31:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"18c94736-0007-489b-a6f0-285f7a295a77","html_url":"https://github.com/DHTMLX/scheduler-to-pdf-net","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DHTMLX%2Fscheduler-to-pdf-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DHTMLX%2Fscheduler-to-pdf-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DHTMLX%2Fscheduler-to-pdf-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DHTMLX%2Fscheduler-to-pdf-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DHTMLX","download_url":"https://codeload.github.com/DHTMLX/scheduler-to-pdf-net/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241517612,"owners_count":19975284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asp-net","dhtmlx","dhtmlxscheduler","export","pdf"],"created_at":"2024-11-13T15:52:30.079Z","updated_at":"2026-05-24T16:33:41.603Z","avatar_url":"https://github.com/DHTMLX.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"dhtmlxScheduler v4.x to PDF print tool for .NET\n----------------------------------------------------------\n\nThis project can be used to print dhtmlxScheduler to PDF using legacy export extension \n\nDocs :\n\n  - http://docs.dhtmlx.com/scheduler/pdf_v4.html\n\nDemo:\n\n  - http://docs.dhtmlx.com/scheduler/samples/04_export/05_standalone_export.html\n\n### Disclaimer\nThis version of the export tool won't be actively developed. We encourage you to use the new version of the export tool instead: \n\n - https://dhtmlx.com/docs/products/dhtmlxGantt/export.shtml\n - http://docs.dhtmlx.com/scheduler/pdf.html\n\n\n### Usage\n\n- Add DHTMLX.Export.PDF project to the solution. \n- Add reference to it from your web project and create a backend handler.\n- Call the handler using client side extension of dhtmlxScheduler http://docs.dhtmlx.com/scheduler/pdf_v4.html#triggeringtheexport\n\n### Sample backend implementation \n\n#### ASP.NET WebForms\n\n~~~cs\n//Generate.ashx\n\nusing System.Web;\nusing DHTMLX.Export.PDF;\nusing System.Web.Configuration;\n\npublic class Generate : IHttpHandler\n{\n\n    public void ProcessRequest(HttpContext context)\n    {           \n        PagesSection pageSection = new PagesSection();\n        pageSection.ValidateRequest = false;\n\n        var generator = new SchedulerPDFWriter();\n        var xml = context.Server.UrlDecode(context.Request.Form[\"mycoolxmlbody\"]);\n        generator.Generate(xml, context.Response);\n    }\n\n    public bool IsReusable { get { return false; } }\n}\n~~~\n\n#### ASP.NET MVC\n\n~~~cs\nusing System.IO;\nusing System.Web;\nusing System.Web.Mvc;\nusing DHTMLX.Export.PDF;\n\nnamespace scheduler2pdf.Controllers\n{\n    [HandleError]\n    public class GeneratorController : Controller\n    {\n        [ValidateInput(false)]\n        public ActionResult Export()\n        {\n            var generator = new SchedulerPDFWriter();\n            var xml = this.Server.UrlDecode(this.Request.Form[\"mycoolxmlbody\"]);           \n            MemoryStream pdf = generator.Generate(xml);         \n            return File(pdf.ToArray(), generator.ContentType);            \n        }\n    }\n}\n\n~~~\n\n### License\n\nDistributed under the MIT software license  \nCopyright (c) 2017 Dinamenta UAB","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhtmlx%2Fscheduler-to-pdf-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhtmlx%2Fscheduler-to-pdf-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhtmlx%2Fscheduler-to-pdf-net/lists"}