New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
How to serialize RadSpreadsheet Workbook with images
Description
How to serialize the workbook with embedded images?
Solution
The commonly used method for serialization toJSON() is unable to serialize embedded images. To properly save images you need to use saveJSON(), which is asynchronous (returns a Promise).
You can test the saveJSON() method directly in our live demo by using the DevTools:
JavaScript
$telerik.findControl(document,"RadSpreadsheet1").get_kendoWidget()
.saveJSON()
.then(function(data){
debugger
console.log('SAVEJSON DONE');
});