From c3e01bdb4a76bd79397eaf9862940f191215a7fc Mon Sep 17 00:00:00 2001 From: Deira-SF4418 Date: Mon, 23 Feb 2026 14:40:46 +0530 Subject: [PATCH 1/5] 1011515: Need correct code snippets in the open-save.md files --- .../Excel/Spreadsheet/ASP-NET-CORE/open-save.md | 6 +----- .../Excel/Spreadsheet/ASP-NET-MVC/open-save.md | 6 +----- Document-Processing/Excel/Spreadsheet/Angular/open-save.md | 6 +----- .../Excel/Spreadsheet/Javascript-ES5/open-save.md | 6 +----- .../Excel/Spreadsheet/Javascript-ES6/open-save.md | 6 +----- Document-Processing/Excel/Spreadsheet/Vue/open-save.md | 6 +----- 6 files changed, 6 insertions(+), 30 deletions(-) diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/open-save.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/open-save.md index a92e4a026b..a92ad9000b 100644 --- a/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/open-save.md +++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-CORE/open-save.md @@ -369,6 +369,7 @@ When you open an excel file that contains external workbook references, you will public IActionResult Open(IFormCollection openRequest) { OpenRequest open = new OpenRequest(); + open.Guid = openRequest["Guid"]; open.AllowExternalWorkbook = false; open.File = openRequest.Files[0]; return Content(Workbook.Open(open)); @@ -470,16 +471,11 @@ By default, the Spreadsheet control saves the Excel file and downloads it to the public string Save(SaveSettings saveSettings) { - ExcelEngine excelEngine = new ExcelEngine(); - IApplication application = excelEngine.Excel; try { - // Save the workbook as stream. Stream fileStream = Workbook.Save(saveSettings); - // Using XLSIO, we are opening the file stream and saving the file in the server under "Files" folder. // You can also save the stream file in your server location. - IWorkbook workbook = application.Workbooks.Open(fileStream); string basePath = _env.ContentRootPath + "\\Files\\" + saveSettings.FileName + ".xlsx"; var file = System.IO.File.Create(basePath); fileStream.Seek(0, SeekOrigin.Begin); diff --git a/Document-Processing/Excel/Spreadsheet/ASP-NET-MVC/open-save.md b/Document-Processing/Excel/Spreadsheet/ASP-NET-MVC/open-save.md index 1ec84e752b..0cfbbb77d4 100644 --- a/Document-Processing/Excel/Spreadsheet/ASP-NET-MVC/open-save.md +++ b/Document-Processing/Excel/Spreadsheet/ASP-NET-MVC/open-save.md @@ -355,6 +355,7 @@ When you open an excel file that contains external workbook references, you will public ActionResult Open(OpenRequest openRequest) { openRequest.AllowExternalWorkbook = false; + openRequest.Guid = openRequest["Guid"]; return Content(Workbook.Open(open)); } ``` @@ -454,16 +455,11 @@ By default, the Spreadsheet control saves the Excel file and downloads it to the public string Save(SaveSettings saveSettings) { - ExcelEngine excelEngine = new ExcelEngine(); - IApplication application = excelEngine.Excel; try { - // Save the workbook as stream. Stream fileStream = Workbook.Save(saveSettings); - // Using XLSIO, we are opening the file stream and saving the file in the server under "Files" folder. // You can also save the stream file in your server location. - IWorkbook workbook = application.Workbooks.Open(fileStream); string basePath = _env.ContentRootPath + "\\Files\\" + saveSettings.FileName + ".xlsx"; var file = System.IO.File.Create(basePath); fileStream.Seek(0, SeekOrigin.Begin); diff --git a/Document-Processing/Excel/Spreadsheet/Angular/open-save.md b/Document-Processing/Excel/Spreadsheet/Angular/open-save.md index 4aa02a612c..3772076160 100644 --- a/Document-Processing/Excel/Spreadsheet/Angular/open-save.md +++ b/Document-Processing/Excel/Spreadsheet/Angular/open-save.md @@ -455,6 +455,7 @@ When you open an excel file that contains external workbook references, you will public IActionResult Open(IFormCollection openRequest) { OpenRequest open = new OpenRequest(); + open.Guid = openRequest["Guid"]; open.AllowExternalWorkbook = false; open.File = openRequest.Files[0]; return Content(Workbook.Open(open)); @@ -554,16 +555,11 @@ By default, the Spreadsheet component saves the Excel file and downloads it to t public string Save(SaveSettings saveSettings) { - ExcelEngine excelEngine = new ExcelEngine(); - IApplication application = excelEngine.Excel; try { - // Save the workbook as stream. Stream fileStream = Workbook.Save(saveSettings); - // Using XLSIO, we are opening the file stream and saving the file in the server under "Files" folder. // You can also save the stream file in your server location. - IWorkbook workbook = application.Workbooks.Open(fileStream); string basePath = _env.ContentRootPath + "\\Files\\" + saveSettings.FileName + ".xlsx"; var file = System.IO.File.Create(basePath); fileStream.Seek(0, SeekOrigin.Begin); diff --git a/Document-Processing/Excel/Spreadsheet/Javascript-ES5/open-save.md b/Document-Processing/Excel/Spreadsheet/Javascript-ES5/open-save.md index 7f76c4c6ac..23e1d42e9e 100644 --- a/Document-Processing/Excel/Spreadsheet/Javascript-ES5/open-save.md +++ b/Document-Processing/Excel/Spreadsheet/Javascript-ES5/open-save.md @@ -412,6 +412,7 @@ When you open an excel file that contains external workbook references, you will public IActionResult Open(IFormCollection openRequest) { OpenRequest open = new OpenRequest(); + open.Guid = openRequest["Guid"]; open.AllowExternalWorkbook = false; open.File = openRequest.Files[0]; return Content(Workbook.Open(open)); @@ -520,16 +521,11 @@ By default, the Spreadsheet control saves the Excel file and downloads it to the public string Save(SaveSettings saveSettings) { - ExcelEngine excelEngine = new ExcelEngine(); - IApplication application = excelEngine.Excel; try { - // Save the workbook as stream. Stream fileStream = Workbook.Save(saveSettings); - // Using XLSIO, we are opening the file stream and saving the file in the server under "Files" folder. // You can also save the stream file in your server location. - IWorkbook workbook = application.Workbooks.Open(fileStream); string basePath = _env.ContentRootPath + "\\Files\\" + saveSettings.FileName + ".xlsx"; var file = System.IO.File.Create(basePath); fileStream.Seek(0, SeekOrigin.Begin); diff --git a/Document-Processing/Excel/Spreadsheet/Javascript-ES6/open-save.md b/Document-Processing/Excel/Spreadsheet/Javascript-ES6/open-save.md index 0f3188f4ef..ded79155ba 100644 --- a/Document-Processing/Excel/Spreadsheet/Javascript-ES6/open-save.md +++ b/Document-Processing/Excel/Spreadsheet/Javascript-ES6/open-save.md @@ -419,6 +419,7 @@ public IActionResult Open(IFormCollection openRequest) { OpenRequest open = new OpenRequest(); open.AllowExternalWorkbook = false; + open.Guid = openRequest["Guid"]; open.File = openRequest.Files[0]; return Content(Workbook.Open(open)); } @@ -526,16 +527,11 @@ By default, the Spreadsheet control saves the Excel file and downloads it to the public string Save(SaveSettings saveSettings) { - ExcelEngine excelEngine = new ExcelEngine(); - IApplication application = excelEngine.Excel; try { - // Save the workbook as stream. Stream fileStream = Workbook.Save(saveSettings); - // Using XLSIO, we are opening the file stream and saving the file in the server under "Files" folder. // You can also save the stream file in your server location. - IWorkbook workbook = application.Workbooks.Open(fileStream); string basePath = _env.ContentRootPath + "\\Files\\" + saveSettings.FileName + ".xlsx"; var file = System.IO.File.Create(basePath); fileStream.Seek(0, SeekOrigin.Begin); diff --git a/Document-Processing/Excel/Spreadsheet/Vue/open-save.md b/Document-Processing/Excel/Spreadsheet/Vue/open-save.md index 84cd400908..43375a176b 100644 --- a/Document-Processing/Excel/Spreadsheet/Vue/open-save.md +++ b/Document-Processing/Excel/Spreadsheet/Vue/open-save.md @@ -615,6 +615,7 @@ public IActionResult Open(IFormCollection openRequest) { OpenRequest open = new OpenRequest(); open.AllowExternalWorkbook = false; + open.Guid = openRequest["Guid"]; open.File = openRequest.Files[0]; return Content(Workbook.Open(open)); } @@ -721,16 +722,11 @@ By default, the Spreadsheet component saves the Excel file and downloads it to t public string Save(SaveSettings saveSettings) { - ExcelEngine excelEngine = new ExcelEngine(); - IApplication application = excelEngine.Excel; try { - // Save the workbook as stream. Stream fileStream = Workbook.Save(saveSettings); - // Using XLSIO, we are opening the file stream and saving the file in the server under "Files" folder. // You can also save the stream file in your server location. - IWorkbook workbook = application.Workbooks.Open(fileStream); string basePath = _env.ContentRootPath + "\\Files\\" + saveSettings.FileName + ".xlsx"; var file = System.IO.File.Create(basePath); fileStream.Seek(0, SeekOrigin.Begin); From ec10be5524446faad77839fdd6460075e23c70cc Mon Sep 17 00:00:00 2001 From: Deira-SF4418 Date: Mon, 23 Feb 2026 14:43:02 +0530 Subject: [PATCH 2/5] 1011515: Need correct code snippets in the open-save.md files --- Document-Processing/Excel/Spreadsheet/Angular/accessibility.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/Excel/Spreadsheet/Angular/accessibility.md b/Document-Processing/Excel/Spreadsheet/Angular/accessibility.md index 19d4a8d89a..476cdcb396 100644 --- a/Document-Processing/Excel/Spreadsheet/Angular/accessibility.md +++ b/Document-Processing/Excel/Spreadsheet/Angular/accessibility.md @@ -1,4 +1,4 @@ ---- +--- layout: post title: Accessibility in Angular Spreadsheet component | Syncfusion description: Learn here all about Accessibility in Syncfusion Angular Spreadsheet component of Syncfusion Essential JS 2 and more. From 18abf6d434092c1d2d4d502cbd6d5a095c7c5a96 Mon Sep 17 00:00:00 2001 From: Deira-SF4418 Date: Mon, 23 Feb 2026 14:45:59 +0530 Subject: [PATCH 3/5] 1011515: Need correct code snippets in the open-save.md files --- Document-Processing/Excel/Spreadsheet/Angular/accessibility.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Document-Processing/Excel/Spreadsheet/Angular/accessibility.md b/Document-Processing/Excel/Spreadsheet/Angular/accessibility.md index 476cdcb396..19d4a8d89a 100644 --- a/Document-Processing/Excel/Spreadsheet/Angular/accessibility.md +++ b/Document-Processing/Excel/Spreadsheet/Angular/accessibility.md @@ -1,4 +1,4 @@ ---- +--- layout: post title: Accessibility in Angular Spreadsheet component | Syncfusion description: Learn here all about Accessibility in Syncfusion Angular Spreadsheet component of Syncfusion Essential JS 2 and more. From bc9d77621bac626e264cbd40a6c0ad367bce4858 Mon Sep 17 00:00:00 2001 From: Deira <166362424+DeiraSF4418@users.noreply.github.com> Date: Mon, 23 Feb 2026 18:28:25 +0530 Subject: [PATCH 4/5] 1011515: Need correct code snippets in the open-save.md files --- .../code-snippet/spreadsheet/react/open-save-cs7/app/app.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Document-Processing/code-snippet/spreadsheet/react/open-save-cs7/app/app.jsx b/Document-Processing/code-snippet/spreadsheet/react/open-save-cs7/app/app.jsx index cf6ab5010c..6bb2cc853b 100644 --- a/Document-Processing/code-snippet/spreadsheet/react/open-save-cs7/app/app.jsx +++ b/Document-Processing/code-snippet/spreadsheet/react/open-save-cs7/app/app.jsx @@ -22,8 +22,7 @@ function App() { { method: 'POST', headers: { Authorization: 'YOUR TEXT' }, - body: formData, - mode: 'no-cors' + body: formData } ).then((response) => { response.blob().then((data) => { @@ -63,4 +62,4 @@ function App() { export default App; const root = createRoot(document.getElementById('root')); -root.render(); \ No newline at end of file +root.render(); From 39e1769ef92b3af7d9c33a56e40f1b96dfdd8abd Mon Sep 17 00:00:00 2001 From: Deira <166362424+DeiraSF4418@users.noreply.github.com> Date: Mon, 23 Feb 2026 18:29:10 +0530 Subject: [PATCH 5/5] 1011515: Need correct code snippets in the open-save.md files --- .../code-snippet/spreadsheet/react/open-save-cs7/app/app.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Document-Processing/code-snippet/spreadsheet/react/open-save-cs7/app/app.tsx b/Document-Processing/code-snippet/spreadsheet/react/open-save-cs7/app/app.tsx index b64c889cbd..72089f9f96 100644 --- a/Document-Processing/code-snippet/spreadsheet/react/open-save-cs7/app/app.tsx +++ b/Document-Processing/code-snippet/spreadsheet/react/open-save-cs7/app/app.tsx @@ -22,8 +22,7 @@ function App() { { method: 'POST', headers: { Authorization: 'YOUR TEXT' }, - body: formData, - mode: 'no-cors' + body: formData } ).then((response) => { response.blob().then((data) => { @@ -63,4 +62,4 @@ function App() { export default App; const root = createRoot(document.getElementById('root')!); -root.render(); \ No newline at end of file +root.render();