Skip to content

Commit d19cc81

Browse files
committed
896949: Addressed the review comments.
1 parent 5e06b63 commit d19cc81

File tree

1 file changed

+3
-29
lines changed

1 file changed

+3
-29
lines changed

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

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -71,44 +71,18 @@ Now the Spreadsheet server Docker instance runs on localhost with the provided p
7171

7272
{% if page.publishingplatform == "aspnet-core" %}
7373

74-
{% tabs %}
75-
{% highlight cshtml tabtitle="CSHTML" %}
76-
7774
```
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">
7976

8077
</ejs-spreadsheet>
81-
82-
<script>
83-
84-
function beforeOpen(args) {
85-
// your code snippets here
86-
}
87-
88-
</script>
8978
```
9079
91-
{% endhighlight %}
92-
{% endtabs %}
93-
9480
{% elsif page.publishingplatform == "aspnet-mvc" %}
9581
96-
{% tabs %}
97-
{% highlight razor tabtitle="CSHTML" %}
98-
9982
```
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()
10984
```
110-
{% endhighlight %}
111-
{% endtabs %}
85+
11286
{% endif %}
11387
11488
## How to configure different cultures using a Docker compose file

0 commit comments

Comments
 (0)