public ActionResult SpreadsheetPartial()
 {
     return(SpreadsheetExtension.GetCallbackResult("SpreadsheetName", p => {
         p.Saving(e => {
             byte[] docBytes = SpreadsheetExtension.SaveCopy("SpreadsheetName", DocumentFormat.Xlsx);
             DataHelper.SaveDocument(docBytes);
             e.Handled = true;
         });
     }));
 }
Beispiel #2
0
 public ActionResult SpreadsheetPartial()
 {
     return(SpreadsheetExtension.GetCallbackResult(SpreadsheetSettingsHelper.GetSpreadsheetSettings()));
 }