Skip to content

Commit 9e96403

Browse files
committed
Sync with Kendo UI Professional
1 parent 99abb39 commit 9e96403

File tree

30 files changed

+1076
-428
lines changed

30 files changed

+1076
-428
lines changed

docs-aspnet/_config-mvc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ html-helpers/navigation/drawer/razor-page.md,
128128
html-helpers/pdf/pdfviewer/razor-page.md,
129129
html-helpers/data-management/listview/binding/razor-page.md,
130130
html-helpers/media/mediaplayer/razor-page.md,
131-
html-helpers/overview-taghelpers.md]
131+
html-helpers/overview-taghelpers.md,
132+
html-helpers/data-management/pivotgridv2/data-binding/razor-page.md,
133+
html-helpers/data-management/taskboard/razor-page.md]
132134

133135
exclude_navigation: ["knowledge-base/*",
134136
api/kendo.mvc/*,

docs-aspnet/html-helpers/charts/stockchart/data-binding.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,14 @@ The following example demonstrates a sample filter submitted by the StockChart f
194194
}
195195
```
196196

197-
198-
199197
## See Also
200198

201-
* [Basic Usage of the StockChart HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/financial/index)
202-
* [Server-Side API of the StockChart for {{ site.framework }}](/api/stockchart)
199+
* [Basic Usage of the StockChart HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/financial)
200+
{% if site.core %}
201+
* [StockChart in Razor Pages]({% slug htmlhelper_chart_razorpages_aspnetcore %})
202+
* [Using Telerik UI for ASP.NET Core in Razor Pages](https://docs.telerik.com/aspnet-core/getting-started/razor-pages#using-telerik-ui-for-aspnet-core-in-razor-pages)
203+
{% endif %}
204+
* [Server-Side HtmlHelper API of the StockChart](/api/stockchart)
205+
{% if site.core %}
206+
* [Server-Side TagHelper API of the StockChart](/api/taghelpers/stockchart)
207+
{% endif %}

docs-aspnet/html-helpers/charts/stockchart/overview.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,9 @@ The following example shows how to enable and configure the Navigator of the cha
225225

226226
* [Getting Started with the StockChart]({% slug stockchart_getting_started %})
227227
* [Basic Usage of the StockChart HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/financial)
228+
{% if site.core %}
229+
* [StockChart in Razor Pages]({% slug htmlhelper_chart_razorpages_aspnetcore %})
230+
{% endif %}
228231

229232

230233
## See Also

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ title: PivotConfiguratorV2
33
page_title: PivotConfiguratorV2 Overview
44
description: "Get started with the Telerik UI PivotGridV2 HtmlHelper for {{ site.framework }} and learn how to create and configure the PivotConfiguratorV2 Configurator."
55
slug: htmlhelpers_pivotgridv2_aspnetcore_configurator
6-
position: 4
6+
position: 5
77
---
88

9-
# PivotConfiguratorV2 Overview
9+
# PivotConfiguratorV2
1010

1111
The [Telerik UI PivotConfiguratorV2 HtmlHelper for {{ site.framework }}](/api/pivotconfigurator) represents an OLAP cube structure.
1212

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ slug: htmlhelpers_pivotgridv2_aspnetcore_localbinding
66
position: 4
77
---
88

9+
# Local Binding
10+
911
When configured for local binding, the PivotGridV2 for {{ site.framework }} will serialize the data as part of its data source and will perform all data operations on the client.
1012

1113
To bind the PivotGridV2 for {{ site.framework }} to local flat data:

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ position: 1
88

99
# Data Binding Overview
1010

11-
The PivotGridV2 for {{ site.framework }} supports Ajax data binding to an HTTP accessible Online Analytical Processing (OLAP) and binding to local flat data.
11+
The PivotGridV2 for {{ site.framework }} supports Ajax data binding to an HTTP accessible [Online Analytical Processing (OLAP)](https://learn.microsoft.com/en-us/previous-versions/sql/sql-server-2005/ms175367(v=sql.90)) and binding to local flat data.
1212

1313
* [OLAP Cube Fundamentals]({% slug htmlhelpers_pivotgridv2_aspnetcore_fundamentals %})
14-
* [Local Binding]({% slug htmlhelpers_pivotgridv2_aspnetcore_localbinding %})
14+
* [Local Data Binding]({% slug htmlhelpers_pivotgridv2_aspnetcore_localbinding %})
15+
* [Using PivotConfiguratorV2]({% slug htmlhelpers_pivotgridv2_aspnetcore_configurator %})
16+
* [Razor Pages Binding]({% slug razorpages_pivotgridv2_aspnetcore %})
1517

1618
## OLAP Services
1719

@@ -26,5 +28,5 @@ For more information on binding the PivotGridV2 to data over an OLAP cube, refer
2628

2729
## See Also
2830

29-
* [Basic Usage of the PivotGridV2 HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/pivotgridv2/index)
30-
* [Server-Side API](/api/pivotgrid)
31+
* [Basic Usage of the PivotGridV2 HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/pivotgridv2)
32+
* [Local Data Binding by the PivotGridV2 HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/pivotgridv2/local-flat-data-binding)
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
title: Razor Pages
3+
page_title: Razor Pages
4+
description: "Telerik UI PivotGridV2 for {{ site.framework }} in a Razor Pages application."
5+
slug: razorpages_pivotgridv2_aspnetcore
6+
position: 6
7+
---
8+
9+
# PivotGridV2 in Razor Pages
10+
11+
Razor Pages is an alternative to the MVC pattern that makes page-focused coding easier and more productive. This approach consists of a `cshtml` file and a `cshtml.cs` file (by design, the two files have the same name).
12+
13+
You can seamlessly integrate the Telerik UI PivotGridV2 for {{ site.framework }} in Razor Pages applications.
14+
15+
This article describes how to configure the PivotGridV2 component in a Razor Pages scenario.
16+
17+
## Getting Started
18+
19+
The following example demonstrates how to configure the PivotGridV2 DataSource for Ajax data binding to an [Online Analytical Processing (OLAP)](https://learn.microsoft.com/en-us/previous-versions/sql/sql-server-2005/ms175367(v=sql.90)) cube within a Razor Pages application.
20+
21+
* Add the OLAP service dll (`https://demos.telerik.com/olap/msmdpump.dll`) as a Read request URL in the `DataSource` configuration to bind the PivotGridV2 to data over an [OLAP cube]({% slug htmlhelpers_pivotgridv2_aspnetcore_fundamentals%}#what-is-an-olap-cube). Since the data is requested from the online accessible OLAP service, it is not required to send the anti-forgery token with the POST request.
22+
* Define the desired initial rows, columns and measures in the `DataSource`.
23+
24+
```HtmlHelper_Index.cshtml
25+
@page
26+
@model IndexModel
27+
@using Kendo.Mvc.UI
28+
29+
@(Html.Kendo().PivotGridV2()
30+
.Name("pivotgrid")
31+
.ColumnWidth(200)
32+
.Height(580)
33+
.DataSource(dataSource => dataSource.
34+
Xmla()
35+
.Columns(columns => {
36+
columns.Add("[Date].[Calendar]").Expand(true);
37+
columns.Add("[Product].[Category]");
38+
})
39+
.Rows(rows => rows.Add("[Geography].[City]").Expand(true))
40+
.Measures(measures => measures.Values(new string[]{"[Measures].[Reseller Freight Cost]"}))
41+
.Transport(transport => transport
42+
.Connection(connection => connection
43+
.Catalog("Adventure Works DW 2008R2")
44+
.Cube("Adventure Works"))
45+
.Read("https://demos.telerik.com/olap/msmdpump.dll")
46+
)
47+
)
48+
)
49+
```
50+
```TagHelper_Index.cshtml
51+
@page
52+
@model IndexModel
53+
@using Kendo.Mvc.UI
54+
55+
<kendo-pivotgridv2 name="pivotgrid" column-width="200" height="580">
56+
<pivot-datasource type="PivotDataSourceType.Xmla">
57+
<columns>
58+
<pivot-datasource-column name="[Date].[Calendar]" expand="true"></pivot-datasource-column>
59+
<pivot-datasource-column name="[Product].[Category]"></pivot-datasource-column>
60+
</columns>
61+
<rows>
62+
<row name="[Geography].[City]" expand="true"></row>
63+
</rows>
64+
<measures values=@(new string[] {"[Measures].[Reseller Freight Cost]"} )></measures>
65+
<transport read-url="https://demos.telerik.com/olap/msmdpump.dll">
66+
<connection catalog="Adventure Works DW 2008R2" cube="Adventure Works"></connection>
67+
</transport>
68+
</pivot-datasource>
69+
</kendo-pivotgridv2>
70+
```
71+
```Index.cshtml.cs
72+
public class IndexModel : PageModel
73+
{
74+
public void OnGet()
75+
{
76+
77+
}
78+
}
79+
```
80+
81+
## See Also
82+
83+
* [Using Telerik UI for ASP.NET Core in Razor Pages](https://docs.telerik.com/aspnet-core/getting-started/razor-pages#using-telerik-ui-for-aspnet-core-in-razor-pages)
84+
* [Client-Side API of the PivotGridV2](https://docs.telerik.com/kendo-ui/api/javascript/ui/pivotgridv2)
85+
* [Server-Side HtmlHelper API of the PivotGridV2](/api/pivotgridv2)
86+
* [Server-Side TagHelper API of the PivotGridV2](/api/taghelpers/pivotgridv2)
87+
* [Knowledge Base Section](/knowledge-base)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ The following image demonstrates the output from the example.
114114
* [Basic Usage of the PivotGridV2 HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/pivotgridv2)
115115
{% if site.core %}
116116
* [Basic Usage of the PivotGridV2 TagHelper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/pivotgridv2/tag-helper)
117+
* [PivotGridV2 in Razor Pages]({% slug razorpages_pivotgridv2_aspnetcore %})
117118
{% endif %}
118119
119120
## See Also

0 commit comments

Comments
 (0)