Skip to content

Commit 6644c6f

Browse files
committed
897088: Addressed the review comments.
1 parent 661d26e commit 6644c6f

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

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

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ The following code example shows how to open an Excel file using a hosted web se
127127

128128
{% if page.publishingplatform == "aspnet-core" %}
129129

130-
```
130+
{% tabs %}
131+
{% highlight cshtml tabtitle="CSHTML" %}
132+
131133
<ejs-spreadsheet id="spreadsheet" openUrl="https://xxxxxxxxxxxxxxxxxx.amazonaws.com/Prod/api/spreadsheet/open" allowOpen = "true" beforeOpen="beforeOpen">
132134

133135
</ejs-spreadsheet>
@@ -175,11 +177,15 @@ The following code example shows how to open an Excel file using a hosted web se
175177
};
176178

177179
</script>
178-
```
180+
181+
{% endhighlight %}
182+
{% endtabs %}
179183

180184
{% elsif page.publishingplatform == "aspnet-mvc" %}
181185

182-
```
186+
{% tabs %}
187+
{% highlight razor tabtitle="CSHTML" %}
188+
183189
@Html.EJS().Spreadsheet("spreadsheet").OpenUrl("https://xxxxxxxxxxxxxxxxxx.amazonaws.com/Prod/api/spreadsheet/open").AllowOpen(true).BeforeOpen("beforeOpen").Render()
184190

185191
<script>
@@ -225,7 +231,9 @@ The following code example shows how to open an Excel file using a hosted web se
225231
};
226232

227233
</script>
228-
```
234+
235+
{% endhighlight %}
236+
{% endtabs %}
229237

230238
{% endif %}
231239

@@ -455,8 +463,7 @@ The following code example shows how to save an Excel file using a hosted web se
455463
{% tabs %}
456464
{% highlight cshtml tabtitle="CSHTML" %}
457465

458-
```
459-
<ejs-spreadsheet id="spreadsheet" saveUrl="https://xxxxxxxxxxxxxxxxxxxxxxxxx.amazonaws.com/Prod/api/spreadsheet/save" allowSave = "true" beforeSave="beforeSave">
466+
<ejs-spreadsheet id="spreadsheet" saveUrl="https://xxxxxxxxxxxxxxxxxxxxxxxxx.amazonaws.com/Prod/api/spreadsheet/save" allowSave="true" beforeSave="beforeSave">
460467

461468
</ejs-spreadsheet>
462469

@@ -517,7 +524,6 @@ The following code example shows how to save an Excel file using a hosted web se
517524
});
518525
};
519526
</script>
520-
```
521527

522528
{% endhighlight %}
523529
{% endtabs %}
@@ -527,7 +533,6 @@ The following code example shows how to save an Excel file using a hosted web se
527533
{% tabs %}
528534
{% highlight razor tabtitle="CSHTML" %}
529535

530-
```
531536
@Html.EJS().Spreadsheet("spreadsheet").SaveUrl("https://xxxxxxxxxxxxxxxxxxxxxxxxx.amazonaws.com/Prod/api/spreadsheet/save").AllowSave(true).BeforeSave("beforeSave").Render()
532537

533538
<script>
@@ -587,11 +592,10 @@ The following code example shows how to save an Excel file using a hosted web se
587592
});
588593
};
589594
</script>
590-
```
591595

592596
{% endhighlight %}
593-
594597
{% endtabs %}
598+
595599
{% endif %}
596600

597601
### Save data as a Base64 string
@@ -823,4 +827,4 @@ Open and save helper functions are shipped in the Syncfusion.EJ2.Spreadsheet pac
823827

824828
* [Filtering](filter)
825829
* [Sorting](sort)
826-
* [Hyperlink](link)
830+
* [Hyperlink](link)

0 commit comments

Comments
 (0)