New to Kendo UI for jQueryStart a free 30-day trial

SaveAs

methods

Saves a file with the specified name and content. A server "echo" proxy might be required, depending on browser capabilities.

Parameters:optionsObject

Configuration options for the save operation.

options.dataURIString

The file contents encoded as a Data URI.

Only base64-encoded Data URIs are supported.

options.fileNameString

The desired file name.

<script>
    kendo.saveAs({
        dataURI: "data:text/plain,Report title and text",
        fileName: "report.txt"
    });
</script>
options.proxyTarget String (default: "_self")

A name or keyword indicating where to display the document returned from the proxy.

If you want to display the document in a new window or iframe, the proxy should set the "Content-Disposition" header to inline; filename="<fileName.ext>".

Not finding the help you need?
Contact Support