I'm using the RadSpreadsheet component and saving it's content following this instructions here:
Telerik RadControls Access the Spreadsheet workbook on the server - Telerik UI for ASP.NET AJAX
So, my code behind is like this:
protected void Page_Load(object sender, EventArgs e)
{
if (Page.IsCallback && Request.Params["__CALLBACKID"] == RadSpreadsheet1.UniqueID)
{
Workbook workbook = Telerik.Web.Spreadsheet.Workbook.FromJson(Request.Params["__CALLBACKPARAM"]);
SaveWorkBook(workbook);
}
}
With this code I'm able to save the spreadsheet just fine. But it's not saving the images I add using the Insert Image button (from telerik component). The images are simply not being passed through.
How can I work around that? Thank you!
Hi Kevin,
The issue with the images is a missing feature of the Server-side implementation of the Spreadsheet and you can vote for it here: Add support for server import/export of Images and Comments
If you'd like to remove the InsertImage button, you can do that by removing the respective button from the <telerik:SpreadsheetToolbarGroup> collection:
<telerik:SpreadsheetTool Name="InsertImage" />
You can also use the button removal technique shown in the Full Set of Tools demo.