You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs-aspnet/html-helpers/data-management/pivotgridv2/data-binding/overview.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,15 @@ position: 1
8
8
9
9
# Data Binding
10
10
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:
12
19
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:
The Telerik UI Menu has a built-in security trimming functionality which is enabled by default.
13
13
14
14
If the URL to which the Menu item points is not authorized, the item is hidden.
15
-
15
+
{% if site.mvc %}
16
16
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).
17
17
18
18
The Menu hides an item if the [`OnAuthorization`](http://msdn.microsoft.com/en-us/library/system.web.mvc.authorizeattribute.onauthorization.aspx) method returns
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.
22
27
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
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.
24
35
25
36
```HtmlHelper
26
37
Html.Kendo().Menu()
27
38
.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>
29
45
```
46
+
{% endif %}
30
47
31
48
## See Also
32
49
50
+
{% if site.mvc %}
33
51
*[Basic Usage of the Menu HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/menu)
Copy file name to clipboardExpand all lines: docs-aspnet/installation/vs-code-integration/introduction.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,17 +8,17 @@ position: 1
8
8
9
9
# Visual Studio Code Integration Overview
10
10
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.
12
12
13
13
As its primary advantage, the VS Code extension facilitates the creation of projects through a wizard directly in Visual Studio Code.
14
14
15
-
## Get the Extension
15
+
## Get Telerik UI for ASP.NET Core Productivity Tools
16
16
17
-
You can get the extention:
17
+
You can get the extension:
18
18
19
19
* from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=TelerikInc.aspnetcoretemplatewizard)
20
20
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**
22
22
23
23
24
24
## Create a Telerik Project
@@ -27,9 +27,7 @@ To create a Telerik-enabled ASP.NET Core project:
27
27
28
28
1. Press `Ctrl`+`Shift`+`P` in Windows/Linux or `Cmd`+`Shift`+`P` on Mac to open the VSCode extension launcher.
29
29
30
-
1. Type/Select `Telerik UI for ASP.NET Core Template Wizard: Launch` and press `Enter` to launch the extension.
31
-
32
-

30
+
1. Type/Select `Telerik UI for ASP.NET Core Productivity Tools: Launch` and press `Enter` to launch the extension.
Copy file name to clipboardExpand all lines: docs-aspnet/installation/vs-code-integration/snippets.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Visual Studio Code snippets are templates that make it easier to enter repetitiv
12
12
13
13
## {{site.product}} Snippets
14
14
15
-
The {{site.product}} Visual Studio Code extension provides snippets for the components listed in the table below in both flavors—HTML Helpers and Tag Helpers. Type `tc`—short for Telerik UI for ASP.NET Core—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—HTML Helpers and Tag Helpers. Type `tc`—short for Telerik UI for ASP.NET Core—or the name of component you wish to add.
16
16
17
17
| Component | Html Helper snippet | TagHelper snippet |
18
18
|--- | --- | --- |
@@ -55,3 +55,16 @@ The {{site.product}} Visual Studio Code extension provides snippets for the comp
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:
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.
0 commit comments