Skip to content

Commit

Permalink
Sync with Kendo UI Professional
Browse files Browse the repository at this point in the history
  • Loading branch information
Kendo Bot committed Nov 18, 2020
1 parent dcded6c commit cd2258f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
28 changes: 14 additions & 14 deletions docs-aspnet/getting-started-core/first-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,20 +167,20 @@ Before you can use a Telerik UI component, you must include the theme, the jQuer

Utilize the Telerik UI DatePicker component by adding the snippet from the following example to `~/Views/Home/Index.cshtml`.

```tab-HtmlHelper
<div class="text-center">
<h2>Kendo UI DatePicker</h2>
@(Html.Kendo().DatePicker()
.Name("my-picker")
)
</div>
```
```tab-TagHelper
<div class="text-center">
<h2>Kendo UI DatePicker</h2>
<kendo-datepicker name="my-picker"/>
</div>
```
```cshtml
<div class="text-center">
<h2>Kendo UI DatePicker</h2>
@(Html.Kendo().DatePicker()
.Name("my-picker")
)
</div>
```
```tagHelper
<div class="text-center">
<h2>Kendo UI DatePicker</h2>
<kendo-datepicker name="my-picker"/>
</div>
```

Now you are ready to run the web app.

Expand Down
9 changes: 4 additions & 5 deletions docs-aspnet/html-helpers/navigation/treeview/checkboxes.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You can define the `Checkboxes` configuration option by:
* The `CheckChildren()` option indicates whether checkboxes of child items will be checked when the checkbox of a parent item is checked. This option also enables tri-state checkboxes with an indeterminate state.
* The `TemplateId()` option allows you to define a script template which will be used for the rendering of the checkboxes. Similarly, the `Template()` option allows the setting of an inline string template.

@(Html.Kendo().TreeView()
@(Html.Kendo().TreeView()
.Name("treeview")
.DataTextField("Name")
.Checkboxes(checkboxes => checkboxes
Expand All @@ -43,11 +43,10 @@ You can define the `Checkboxes` configuration option by:
.Action("Read_TreeViewData", "TreeView")
)
)
)

<script type="text/kendo-template" id="checkbox-template">
)
<script type="text/kendo-template" id="checkbox-template">
<input type='checkbox' name='checkedFiles[#= item.id #]' value='true' />
</script>
</script>

## See Also

Expand Down

0 comments on commit cd2258f

Please sign in to comment.