Skip to content

Commit 7758aab

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent f75c03c commit 7758aab

20 files changed

+187
-45
lines changed

docs-aspnet/_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ html-helpers/data-management/grid/binding/server-binding.md,
4444
html-helpers/data-management/grid/editing/server-editing.md,
4545
html-helpers/data-management/grid/templates/server-detail-template.md,
4646
html-helpers/navigation/menu/binding/sitemap-binding.md,
47-
html-helpers/navigation/menu/security-trimming.md,
4847
html-helpers/navigation/panelbar/binding/sitemap-binding.md,
4948
html-helpers/navigation/panelbar/security-trimming.md,
5049
html-helpers/navigation/tabstrip/binding/*,

docs-aspnet/html-helpers/data-management/pivotgridv2/data-binding/overview.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@ position: 1
88

99
# Data Binding
1010

11-
The PivotGridV2 for {{ site.framework }} supports Ajax data binding to an HTTP accessible Online Analytical Processing (OLAP) cube and to flat data.
11+
The PivotGridV2 for {{ site.framework }} supports Ajax data binding to an HTTP accessible Online Analytical Processing (OLAP).
12+
13+
## OLAP Services
14+
15+
* Telerik UI provides an OLAP service dll that can be used for testing and is hosted at `https://demos.telerik.com/olap/msmdpump.dll`.
16+
* To see the responses, the service needs to be queried and cannot be opened directly in the browser.
17+
18+
For more information on binding the PivotGridV2 to data over an OLAP cube, refer to the following articles:
1219

13-
Telerik UI provides an OLAP service dll that can be used for testing and is hosted at `https://demos.telerik.com/olap/msmdpump.dll`. To see the responses, the service needs to be queried and cannot be opened directly in the browser. For more information on binding the PivotGrid to data over an OLAP cube, refer to the following articles:
1420
* [OLAP Cube Fundamentals]({% slug htmlhelpers_pivotgridv2_aspnetcore_fundamentals %})
1521
* [OLAP Cube Setup]({% slug htmlhelpers_pivotgridv2_aspnetcore_olap_cube_setup %})
1622
* [PivotConfigurator Overview]({% slug htmlhelpers_pivotgridv2_aspnetcore_configurator %})

docs-aspnet/html-helpers/layout/tilelayout/keyboard-navigation.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ The following example demonstrates how to enable the key navigation in the TileL
2222
// options omitted for brevity
2323
)
2424
```
25+
{% if site.core %}
26+
```TagHelper
27+
<kendo-tilelayout name="tilelayout" navigatable="true">
28+
// options omitted for brevity
29+
</kendo-tilelayout>
30+
```
31+
{% endif %}
2532

2633
## See Also
2734

docs-aspnet/html-helpers/layout/tilelayout/reordering.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,19 @@ The example below will render a grid with two columns which can be reordered bot
3838
```
3939
{% if site.core %}
4040
```TagHelper
41-
<kendo-tilelayout name="tilelayout" columns="3" reorderable="true">
41+
<kendo-tilelayout columns="2" columns-width="285px" reorderable="true" rows-height="285px" name="tilelayout">
42+
<containers>
43+
<container body-template="Item one body" col-span="1" row-span="1">
44+
<container-header text="Item one"/>
45+
</container>
46+
<container body-template="Item two body" col-span="1" row-span="1">
47+
<container-header text="Item two"/>
48+
</container>
49+
<container body-template="Item three body" col-span="1" row-span="1">
50+
<container-header text="Item three"/>
51+
</container>
52+
</containers>
53+
</kendo-tilelayout>
4254
```
4355
{% endif %}
4456

docs-aspnet/html-helpers/layout/tilelayout/resizing.md

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,16 @@ The example below will render a grid with two rows and two columns which can be
3232
```
3333
{% if site.core %}
3434
```TagHelper
35-
<kendo-tilelayout name="tilelayout" columns="3" resizable="true">
35+
<kendo-tilelayout columns="3" resizable="true" name="tilelayout" on-resize="onTileResize">
36+
<containers>
37+
<container body-template="Item one body" col-span="1" row-span="1">
38+
<container-header text="Item one"/>
39+
</container>
40+
<container body-template="Item two body" col-span="1" row-span="1">
41+
<container-header text="Item two"/>
42+
</container>
43+
</containers>
44+
</kendo-tilelayout>
3645
```
3746
{% endif %}
3847

@@ -42,10 +51,24 @@ The widget triggers a [`Resize()`](/api/Kendo.Mvc.UI.Fluent/TileLayoutEventBuild
4251

4352
```HtmlHelper
4453
.Events(e=>e.Resize("onResize"))
45-
resize: function (e) {
46-
console.log(e.container.find(".k-card-header").text());
47-
}
54+
<script>
55+
function onResize (e) {
56+
console.log(e.container.find(".k-card-header").text());
57+
}
58+
</script>
4859
```
60+
{% if site.core %}
61+
```TagHelper
62+
<kendo-tilelayout name="tilelayout" on-resize="onResize">
63+
</kendo-tilelayout>
64+
65+
<script>
66+
function onResize(e) {
67+
console.log(e.container.find(".k-card-header").text());
68+
}
69+
</script>
70+
```
71+
{% endif %}
4972

5073
## See Also
5174

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Security Trimming
33
page_title: Security Trimming
4-
description: "Use the built-in security trimming functionality of the Telerik UI Menu component for ASP.NET MVC."
4+
description: "Use the built-in security trimming functionality of the Telerik UI Menu component for {{ site.framework }}"
55
previous_url: /helpers/navigation/menu/security-trimming
66
slug: securitytrimming_menu_aspnetmvc
77
position: 3
@@ -12,25 +12,51 @@ position: 3
1212
The Telerik UI Menu has a built-in security trimming functionality which is enabled by default.
1313

1414
If the URL to which the Menu item points is not authorized, the item is hidden.
15-
15+
{% if site.mvc %}
1616
Security trimming depends on the [ASP.NET MVC Authorization](http://www.asp.net/mvc/tutorials/mvc-music-store/mvc-music-store-part-7). Every `action` method which is decorated with [`AuthorizeAttribute`](http://msdn.microsoft.com/en-us/library/system.web.mvc.authorizeattribute.aspx) checks whether the user is authorized and allows or forbids the request. For more information, refer to the article on [ASP.NET MVC Authorization](http://weblogs.asp.net/jgalloway/archive/2011/04/28/looking-at-how-asp-net-mvc-authorize-interacts-with-asp-net-forms-authorization.aspx).
1717

1818
The Menu hides an item if the [`OnAuthorization`](http://msdn.microsoft.com/en-us/library/system.web.mvc.authorizeattribute.onauthorization.aspx) method returns
1919
[`HttpUnauthorizedResult`](http://msdn.microsoft.com/en-us/library/system.web.mvc.httpunauthorizedresult.aspx).
2020

21+
2122
For more information on using a custom `AuthorizeAttribute`, refer to [this article](https://github.com/telerik/kendo-examples-asp-net-mvc/tree/master/kendo-menu-with-custom-authorization-attribute).
23+
{% endif %}
24+
25+
{% if site.core %}
26+
Security trimming depends on the [ASP.NET Core Authorization](https://docs.microsoft.com/en-us/aspnet/core/security/authorization/introduction?view=aspnetcore-6.0). Every `action` method which is decorated with [`AuthorizeAttribute`](https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.authorization.authorizeattribute?view=aspnetcore-6.0) checks whether the user is authorized and allows or forbids the request.
2227

23-
When the Menu items are removed because of lacking permissions, a parent item may be left without any children. For such cases, the Menu provides an option to remove the "orphaned" parent items.
28+
The Menu hides an item if the [`OnAuthorization`](https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.filters.iauthorizationfilter.onauthorization?view=aspnetcore-6.0) method returns
29+
[`UnauthorizedResult`](https://docs.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.unauthorizedresult?view=aspnetcore-6.0).
30+
31+
For more information, refer to the article on [ASP.NET Core Authorization](https://docs.microsoft.com/en-us/aspnet/core/security/authorization/simple?view=aspnetcore-6.0).
32+
{% endif %}
33+
34+
The security trimming functionality can be enabled through the `SecurityTrimming` property.
2435

2536
```HtmlHelper
2637
Html.Kendo().Menu()
2738
.Name("MainMenu")
28-
.SecurityTrimming(s => s.HideParent(true))
39+
.SecurityTrimming(true)
40+
```
41+
{% if site.core %}
42+
```TagHelper
43+
<kendo-menu name="menu" security-trimming="true">
44+
</kendo-menu>
2945
```
46+
{% endif %}
3047

3148
## See Also
3249

50+
{% if site.mvc %}
3351
* [Basic Usage of the Menu HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/menu)
3452
* [MenuItemBuilder Server-Side API](https://docs.telerik.com/aspnet-mvc/api/Kendo.Mvc.UI.Fluent/MenuItemBuilder)
3553
* [MenuBuilder Server-Side API](https://docs.telerik.com/aspnet-mvc/api/Kendo.Mvc.UI.Fluent/MenuBuilder)
3654
* [Menu Server-Side API](/api/menu)
55+
{% endif %}
56+
57+
{%if site.core%}
58+
* [Basic Usage of the Menu HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-core/menu)
59+
* [MenuItemBuilder Server-Side API](https://docs.telerik.com/aspnet-core/api/Kendo.Mvc.UI.Fluent/MenuItemBuilder)
60+
* [MenuBuilder Server-Side API](https://docs.telerik.com/aspnet-core/api/Kendo.Mvc.UI.Fluent/MenuBuilder)
61+
* [Menu Server-Side API](https://docs.telerik.com/aspnet-core/api/menu)
62+
{% endif %}

docs-aspnet/installation/vs-code-integration/introduction.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ position: 1
88

99
# Visual Studio Code Integration Overview
1010

11-
The **Telerik UI for ASP.NET Core Template Wizard** is an extension for [Visual Studio Code](https://code.visualstudio.com/) that enhances the application development experience with Telerik UI for ASP.NET Core.
11+
The **Telerik UI for ASP.NET Core Productivity Tools** is an extension for [Visual Studio Code](https://code.visualstudio.com/) that enhances the application development experience with Telerik UI for ASP.NET Core.
1212

1313
As its primary advantage, the VS Code extension facilitates the creation of projects through a wizard directly in Visual Studio Code.
1414

15-
## Get the Extension
15+
## Get Telerik UI for ASP.NET Core Productivity Tools
1616

17-
You can get the extention:
17+
You can get the extension:
1818

1919
* from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=TelerikInc.aspnetcoretemplatewizard)
2020

21-
* by opening the **Extensions** tab in Visual Studio Code, then searching for **Telerik UI for ASP.NET Core Template Wizard** and clicking **Install**
21+
* by opening the **Extensions** tab in Visual Studio Code, then searching for **Telerik UI for ASP.NET Core Productivity Tools** and clicking **Install**
2222

2323

2424
## Create a Telerik Project
@@ -27,9 +27,7 @@ To create a Telerik-enabled ASP.NET Core project:
2727

2828
1. Press `Ctrl`+`Shift`+`P` in Windows/Linux or `Cmd`+`Shift`+`P` on Mac to open the VSCode extension launcher.
2929

30-
1. Type/Select `Telerik UI for ASP.NET Core Template Wizard: Launch` and press `Enter` to launch the extension.
31-
32-
![launch Telerik ASP.NET Core VS Code extension](images/launch-extension.png)
30+
1. Type/Select `Telerik UI for ASP.NET Core Productivity Tools: Launch` and press `Enter` to launch the extension.
3331

3432
1. Enter a project name and select the location.
3533

docs-aspnet/installation/vs-code-integration/snippets.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Visual Studio Code snippets are templates that make it easier to enter repetitiv
1212

1313
## {{site.product}} Snippets
1414

15-
The {{site.product}} Visual Studio Code extension provides snippets for the components listed in the table below in both flavors&mdash;HTML Helpers and Tag Helpers. Type `tc`&mdash;short for Telerik UI for ASP.NET Core&mdash;or the name of component you wish to add.
15+
The {{site.product}} Visual Studio Code Productivity Tools provide snippets for the components listed in the table below in both flavors&mdash;HTML Helpers and Tag Helpers. Type `tc`&mdash;short for Telerik UI for ASP.NET Core&mdash;or the name of component you wish to add.
1616

1717
| Component | Html Helper snippet | TagHelper snippet |
1818
|--- | --- | --- |
@@ -55,3 +55,16 @@ The {{site.product}} Visual Studio Code extension provides snippets for the comp
5555
| [Form Item](https://docs.telerik.com/{{site.platform}}/html-helpers/layout/dialog/itmes) | `tc-formitem-html` | `tc-formitem-tag` |
5656

5757
For further details on using snipets, creating personalized snippets or disabling snippets refer to the [official Visual Studio Code documentation](https://code.visualstudio.com/docs/editor/userdefinedsnippets).
58+
59+
## {{site.product}} Scaffolder
60+
61+
The {{site.product}} Visual Studio Code scaffolder allows you to quickly generate Views with some of the most popular components:
62+
63+
* [Grid]({% slug htmlhelpers_grid_aspnetcore_overview %})
64+
* [Chart]({% slug htmlhelpers_charts_aspnetcore %})
65+
* [Form]({% slug htmlhelpers_form_aspnetcore_overview %})
66+
* [ListView]({% slug htmlhelpers_listview_aspnetcore %})
67+
* [Gantt]({% slug htmlhelpers_gantt_aspnetcore %})
68+
* [Scheduler]({% slug htmlhelpers_scheduler_aspnetcore %})
69+
70+
The Visual Studio Code scaffolder allows you to configure multiple component-specific properties. It will prompt you for input on the controller handling the CRUD operataions, if applicable, component name and model names. For example, if you scaffold a new page with the Telerik UI for ASP.NET Core Grid, you will be able to set its the CRUD endpoints for the DataSource, set the configuration for sorting, filtering, grouping, column resizing and more properties.

docs/knowledge-base/change-validation-tooltip-position.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,15 @@ The approach relies on the following milestones:
7272
display: none;
7373
}
7474
75+
.k-popup-edit-form .k-input{
76+
width: 50%
77+
}
7578
</style>
7679
7780
<script id="edit-template" type="text/x-kendo-template">
7881
<dl>
7982
<dt><label for="ProductName">Product Name</label></dt>
80-
<dd><input class="k-textbox" data-bind="value:ProductName" name="ProductName" required="required" />
83+
<dd><input class="k-input k-textbox k-input-solid k-input-md k-rounded-md" data-bind="value:ProductName" name="ProductName" required="required" />
8184
<div class="validator-msg"><span data-for="ProductName" class="k-invalid-msg"></span></div></dd>
8285
8386
<dt><label for="UnitPrice">Unit Price</label></dt>

docs/knowledge-base/detail-template-editor.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ The following example demonstrates how to create a custom editor in a Grid detai
4747
4848
<div>
4949
<div class='employee-details'>
50-
First Name: <input type="text" data-bind="value:FirstName"/><br />
51-
Last Name: <input type="text" data-bind="value:LastName"/><br />
52-
Country: <input type="text" data-bind="value:Country"/><br />
50+
<span class="field-name">First Name: </span> <input type="text" class="k-input k-textbox k-input-solid k-input-md k-rounded-md" data-bind="value:FirstName"/><br />
51+
<span class="field-name"> Last Name: </span> <input type="text" class="k-input k-textbox k-input-solid k-input-md k-rounded-md" data-bind="value:LastName"/><br />
52+
<span class="field-name"> Country: </span> <input type="text" class="k-input k-textbox k-input-solid k-input-md k-rounded-md" data-bind="value:Country"/><br />
5353
5454
</div>
5555
</div>
@@ -149,6 +149,15 @@ The following example demonstrates how to create a custom editor in a Grid detai
149149
});
150150
}
151151
</script>
152+
<style>
153+
.employee-details .k-input{
154+
width:50%;
155+
}
156+
.field-name{
157+
width: 100px;
158+
display: inline-block;
159+
}
160+
</style>
152161
153162
```
154163

0 commit comments

Comments
 (0)