Skip to content

Commit b27ea34

Browse files
committed
897088: Addressed the review comments.
1 parent 1e46749 commit b27ea34

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ej2-asp-core-mvc/spreadsheet/open-save.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ The following code example shows how to open an Excel file using a hosted web se
187187

188188
{% tabs %}
189189
{% highlight razor tabtitle="CSHTML" %}
190+
190191
```
191192
@Html.EJS().Spreadsheet("spreadsheet").OpenUrl("https://xxxxxxxxxxxxxxxxxx.amazonaws.com/Prod/api/spreadsheet/open").AllowOpen(true).BeforeOpen("beforeOpen").Render()
192193
@@ -234,12 +235,12 @@ The following code example shows how to open an Excel file using a hosted web se
234235
235236
</script>
236237
```
238+
237239
{% endhighlight %}
238240

239241
{% endtabs %}
240242
{% endif %}
241243

242-
243244
### Open an excel file from Base64 string data
244245

245246
In the Syncfusion Spreadsheet component, there is no direct option to open data as a `Base64` string. To achieve this, the `import()` function fetches the `Base64` string, converts it to a Blob, creates a File object from the Blob, and then opens it using the `open` method in the spreadsheet.
@@ -465,7 +466,7 @@ The following code example shows how to save an Excel file using a hosted web se
465466

466467
{% tabs %}
467468
{% highlight cshtml tabtitle="CSHTML" %}
468-
`
469+
469470
```
470471
<ejs-spreadsheet id="spreadsheet" saveUrl="https://xxxxxxxxxxxxxxxxxxxxxxxxx.amazonaws.com/Prod/api/spreadsheet/save" allowSave = "true" beforeSave="beforeSave">
471472
@@ -537,6 +538,7 @@ The following code example shows how to save an Excel file using a hosted web se
537538

538539
{% tabs %}
539540
{% highlight razor tabtitle="CSHTML" %}
541+
540542
```
541543
@Html.EJS().Spreadsheet("spreadsheet").SaveUrl("https://xxxxxxxxxxxxxxxxxxxxxxxxx.amazonaws.com/Prod/api/spreadsheet/save").AllowSave(true).BeforeSave("beforeSave").Render()
542544
@@ -598,6 +600,7 @@ The following code example shows how to save an Excel file using a hosted web se
598600
};
599601
</script>
600602
```
603+
601604
{% endhighlight %}
602605

603606
{% endtabs %}

0 commit comments

Comments
 (0)