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