@@ -127,7 +127,9 @@ The following code example shows how to open an Excel file using a hosted web se
127
127
128
128
{% if page.publishingplatform == "aspnet-core" %}
129
129
130
- ```
130
+ {% tabs %}
131
+ {% highlight cshtml tabtitle="CSHTML" %}
132
+
131
133
<ejs-spreadsheet id =" spreadsheet " openUrl =" https://xxxxxxxxxxxxxxxxxx.amazonaws.com/Prod/api/spreadsheet/open " allowOpen = " true " beforeOpen =" beforeOpen " >
132
134
133
135
</ejs-spreadsheet >
@@ -175,11 +177,15 @@ The following code example shows how to open an Excel file using a hosted web se
175
177
};
176
178
177
179
</script >
178
- ```
180
+
181
+ {% endhighlight %}
182
+ {% endtabs %}
179
183
180
184
{% elsif page.publishingplatform == "aspnet-mvc" %}
181
185
182
- ```
186
+ {% tabs %}
187
+ {% highlight razor tabtitle="CSHTML" %}
188
+
183
189
@Html .EJS().Spreadsheet("spreadsheet").OpenUrl("https://xxxxxxxxxxxxxxxxxx.amazonaws.com/Prod/api/spreadsheet/open").AllowOpen (true).BeforeOpen("beforeOpen").Render()
184
190
185
191
<script >
@@ -225,7 +231,9 @@ The following code example shows how to open an Excel file using a hosted web se
225
231
};
226
232
227
233
</script >
228
- ```
234
+
235
+ {% endhighlight %}
236
+ {% endtabs %}
229
237
230
238
{% endif %}
231
239
@@ -455,8 +463,7 @@ The following code example shows how to save an Excel file using a hosted web se
455
463
{% tabs %}
456
464
{% highlight cshtml tabtitle="CSHTML" %}
457
465
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 " >
460
467
461
468
</ejs-spreadsheet >
462
469
@@ -517,7 +524,6 @@ The following code example shows how to save an Excel file using a hosted web se
517
524
});
518
525
};
519
526
</script >
520
- ```
521
527
522
528
{% endhighlight %}
523
529
{% endtabs %}
@@ -527,7 +533,6 @@ The following code example shows how to save an Excel file using a hosted web se
527
533
{% tabs %}
528
534
{% highlight razor tabtitle="CSHTML" %}
529
535
530
- ```
531
536
@Html .EJS().Spreadsheet("spreadsheet").SaveUrl("https://xxxxxxxxxxxxxxxxxxxxxxxxx.amazonaws.com/Prod/api/spreadsheet/save").AllowSave (true).BeforeSave("beforeSave").Render()
532
537
533
538
<script >
@@ -587,11 +592,10 @@ The following code example shows how to save an Excel file using a hosted web se
587
592
});
588
593
};
589
594
</script >
590
- ```
591
595
592
596
{% endhighlight %}
593
-
594
597
{% endtabs %}
598
+
595
599
{% endif %}
596
600
597
601
### Save data as a Base64 string
@@ -823,4 +827,4 @@ Open and save helper functions are shipped in the Syncfusion.EJ2.Spreadsheet pac
823
827
824
828
* [ Filtering] ( filter )
825
829
* [ Sorting] ( sort )
826
- * [ Hyperlink] ( link )
830
+ * [ Hyperlink] ( link )
0 commit comments