Skip to content

Commit a92725b

Browse files
committed
896949: Addressed the review comments.
1 parent 21da3e4 commit a92725b

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

ej2-asp-core-mvc/spreadsheet/docker-deployment.md

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,9 @@ Now the Spreadsheet server Docker instance runs on localhost with the provided p
7474
{% tabs %}
7575
{% highlight cshtml tabtitle="CSHTML" %}
7676

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">
8078
</ejs-spreadsheet>
8179

82-
<script>
83-
84-
function beforeOpen(args) {
85-
// your code snippets here
86-
}
87-
88-
</script>
89-
```
90-
9180
{% endhighlight %}
9281
{% endtabs %}
9382

@@ -96,19 +85,11 @@ Now the Spreadsheet server Docker instance runs on localhost with the provided p
9685
{% tabs %}
9786
{% highlight razor tabtitle="CSHTML" %}
9887

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()
10789

108-
</script>
109-
```
11090
{% endhighlight %}
11191
{% endtabs %}
92+
11293
{% endif %}
11394

11495
## How to configure different cultures using a Docker compose file

0 commit comments

Comments
 (0)