From cd2258f61b1b03f5efe7d1f57626a112d8f7da93 Mon Sep 17 00:00:00 2001 From: Kendo Bot <bot@kendoui.com> Date: Wed, 18 Nov 2020 04:58:31 +0200 Subject: [PATCH] Sync with Kendo UI Professional --- .../getting-started-core/first-steps.md | 28 +++++++++---------- .../navigation/treeview/checkboxes.md | 9 +++--- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/docs-aspnet/getting-started-core/first-steps.md b/docs-aspnet/getting-started-core/first-steps.md index 0a42d4c5cfd..1f5a44c4426 100644 --- a/docs-aspnet/getting-started-core/first-steps.md +++ b/docs-aspnet/getting-started-core/first-steps.md @@ -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. diff --git a/docs-aspnet/html-helpers/navigation/treeview/checkboxes.md b/docs-aspnet/html-helpers/navigation/treeview/checkboxes.md index c8c2bc584c2..cd4da91997a 100644 --- a/docs-aspnet/html-helpers/navigation/treeview/checkboxes.md +++ b/docs-aspnet/html-helpers/navigation/treeview/checkboxes.md @@ -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 @@ -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