File tree Expand file tree Collapse file tree 1 file changed +3
-29
lines changed
ej2-asp-core-mvc/spreadsheet Expand file tree Collapse file tree 1 file changed +3
-29
lines changed Original file line number Diff line number Diff line change @@ -71,44 +71,18 @@ Now the Spreadsheet server Docker instance runs on localhost with the provided p
71
71
72
72
{% if page.publishingplatform == "aspnet-core" %}
73
73
74
- {% tabs %}
75
- {% highlight cshtml tabtitle="CSHTML" %}
76
-
77
74
```
78
- <ejs-spreadsheet id =" spreadsheet " openUrl =" Open " allowOpen = " true " beforeOpen = " beforeOpen " >
75
+ <ejs-spreadsheet id =" spreadsheet " openUrl =" http://localhost:6002/api/spreadsheet/open " allowOpen = " true " saveUrl = " http://localhost:6002/api/spreadsheet/save " allowSave = " true " >
79
76
80
77
</ejs-spreadsheet >
81
-
82
- <script >
83
-
84
- function beforeOpen (args ) {
85
- // your code snippets here
86
- }
87
-
88
- </script >
89
78
```
90
79
91
- {% endhighlight %}
92
- {% endtabs %}
93
-
94
80
{% elsif page.publishingplatform == "aspnet-mvc" %}
95
81
96
- {% tabs %}
97
- {% highlight razor tabtitle="CSHTML" %}
98
-
99
82
```
100
- @Html .EJS().Spreadsheet("spreadsheet").OpenUrl("http://localhost:6002/api/spreadsheet/open").SaveUrl ("http://localhost:6002/api/spreadsheet/save").AllowOpen (true).AllowSave(true).BeforeOpen("beforeOpen").Render()
101
-
102
- <script >
103
-
104
- function beforeOpen (args ) {
105
- // your code snippets here
106
- }
107
-
108
- </script >
83
+ @Html .EJS().Spreadsheet("spreadsheet").OpenUrl("http://localhost:6002/api/spreadsheet/open").SaveUrl ("http://localhost:6002/api/spreadsheet/save").AllowOpen (true).AllowSave(true).Render()
109
84
```
110
- {% endhighlight %}
111
- {% endtabs %}
85
+
112
86
{% endif %}
113
87
114
88
## How to configure different cultures using a Docker compose file
You can’t perform that action at this time.
0 commit comments