In our latest Kendo UI webinar, developer advocates Cody Lindley, Todd Motto and Burke Holland walk you through saving content to various formats from webpages.
Last week we held a Kendo UI webinar about exporting and saving content from the DOM/Kendo UI widgets to the client's local machine in the form of text, images, SVG, PDF and Excel documents. The webinar is now up on youtube (as well as below) and you can watch it again, for the first time or as many times as you like.
If you want to immediately dig into some code examples, we've placed the code shown in the webinar into a GitHub repository for you.
Overview of the Webinar
Open-Source Exporting Solutions
I kick off the webinar by demoing three examples that make use of open-source solutions for exporting content from the DOM:
Accomplish More with Kendo UI
Then Todd Motto showed off how simple it was to accomplish the same thing and more using Kendo UI. In short, Todd covered the following topics:
- Demoed the public Kendo UI APIs that allow for low level saving and exporting of base 64 content, which we could create ourselves as a String and pass off to the Kendo UI API
- Demoed the higher level APIs from the Kendo UI toolset, to look at how we can export raw HTML directly as PDF, SVG and Images using the kendo.drawing API
- Demoed how to configure widgets to automatically show us export toolbars for simplicity, and control how we export data with filenames, margins (for PDF).
- Demoed a brief overview of some other widgets that use the export APIs.
A Look at Server-Side Rendering of Documents
Finally Burke finished off the webinar with a brief look at server-side rendering of documents.
He showed the Document Processing Libraries (DPL) that are part of the Telerik UI for ASP.NET AJAX suite, and are now available for all Telerik UI For ASP.NET MVC customers.
Those libraries allow rich interaction with a variety of document formats, including CSV, Excel and PDF. The libraries can be used to read from and write to document formats, as well as serializing the documents for consumption by Kendo UI widgets, which expect the data in a certain JSON format. The DPL libraries that we provide make working with documents on the server a breeze. No need to include those Office COM components. The Telerik DPL has you covered.
You can check out some of the UI for ASP.NET Demos available with full samples of code for working with the Telerik DPL.
Finally, after all that we ended the webinar with some Q&A from the audience.
What do you think? Do you have any questions about anything we covered, or anything we missed? Let us know your thoughts on the webinar in the comments.