Skip to content

Commit 446d17b

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent 509dca0 commit 446d17b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+23697
-23515
lines changed

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

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,43 @@ The following example demonstrates how to define the Spreadsheet.
9292
```
9393
{% if site.core %}
9494
```TagHelper
95-
<kendo-spreadsheet name="spreadsheet"></kendo-spreadsheet>
95+
@addTagHelper *, Kendo.Mvc
96+
97+
@{
98+
string[] mergedCells = new string[] { "A1:F1", "C15:E15" };
99+
}
100+
<kendo-spreadsheet name="spreadsheet">
101+
<sheets>
102+
<sheet name="FoodOrder" merged-cells="@mergedCells">
103+
<columns>
104+
<sheet-column width="100" />
105+
<sheet-column width="215" />
106+
<sheet-column width="115" />
107+
<sheet-column width="115" />
108+
<sheet-column width="115" />
109+
<sheet-column width="155" />
110+
</columns>
111+
<rows>
112+
<sheet-row height="50">
113+
<cells>
114+
<cell value="My Company" font-size="25" background="rgb(142,196,65)" text-align="SpreadsheetTextAlign.Center" color="white">
115+
</cell>
116+
</cells>
117+
</sheet-row>
118+
<sheet-row height="25">
119+
<cells>
120+
<cell value="ID" background="rgb(212,223,50)" text-align="SpreadsheetTextAlign.Center"></cell>
121+
<cell value="Product" background="rgb(212,223,50)" text-align="SpreadsheetTextAlign.Center"></cell>
122+
<cell value="Quantity" background="rgb(212,223,50)" text-align="SpreadsheetTextAlign.Center"></cell>
123+
<cell value="Price" background="rgb(212,223,50)" text-align="SpreadsheetTextAlign.Center"></cell>
124+
<cell value="Tax" background="rgb(212,223,50)" text-align="SpreadsheetTextAlign.Center"></cell>
125+
<cell value="Amount" background="rgb(212,223,50)" text-align="SpreadsheetTextAlign.Center"></cell>
126+
</cells>
127+
</sheet-row>
128+
</rows>
129+
</sheet>
130+
</sheets>
131+
</kendo-spreadsheet>
96132
```
97133
{% endif %}
98134
```Controller

docs-aspnet/html-helpers/editors/radiogroup/binding.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ The example below demonstrates how to use the Items() method to configure the ra
2828
```
2929
{% if site.core %}
3030
```TagHelper
31-
<kendo-radiogroup name="radiogroup"
32-
radio-name="radiogroup">
33-
<kendo-radiogroup-items>
34-
<kendo-radiogroup-item value="one" label="First">
35-
</kendo-radiogroup-item>
36-
<kendo-radiogroup-item value="two" label="Second">
37-
</kendo-radiogroup-item>
38-
</kendo-radiogroup-items>
39-
</kendo-radiogroup>
31+
<kendo-radiogroup name="radiogroup"
32+
radio-name="radiogroup"
33+
value="1">
34+
<kendo-radiogroup-items>
35+
<kendo-radiogroup-item label="Phone (SMS)" value="1"></kendo-radiogroup-item>
36+
<kendo-radiogroup-item label="E-mail" value="2"></kendo-radiogroup-item>
37+
<kendo-radiogroup-item label="None" value="3"></kendo-radiogroup-item>
38+
</kendo-radiogroup-items>
39+
</kendo-radiogroup>
4040
```
4141
{% endif %}
4242

@@ -106,8 +106,8 @@ You can configure the items in the RadioGroup widget by using the BindTo method.
106106
@model MvcApplication1.Models.RadioGroupViewModel
107107
108108
<kendo-radiogroup name="radiogroup"
109-
radio-name="radiogroup"
110-
bind-to="Model.Items">
109+
radio-name="radiogroup"
110+
bind-to="Model.Items">
111111
</kendo-radiogroup>
112112
```
113113
{% endif %}

docs-aspnet/html-helpers/editors/radiogroup/label.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ To customize the text of the label, use the [`label`](/api/javascript/ui/radiogr
3030
<kendo-radiogroup name="radiogroup"
3131
radio-name="radiogroup">
3232
<kendo-radiogroup-items>
33-
<kendo-radiogroup-item value="one" label="First">
34-
</kendo-radiogroup-item>
35-
<kendo-radiogroup-item value="two" label="Second">
36-
</kendo-radiogroup-item>
33+
<kendo-radiogroup-item label="First" value="1"></kendo-radiogroup-item>
34+
<kendo-radiogroup-item label="Second" value="2" ></kendo-radiogroup-item>
35+
<kendo-radiogroup-item label="Third" value="3"></kendo-radiogroup-item>
3736
</kendo-radiogroup-items>
3837
</kendo-radiogroup>
3938
```
@@ -46,7 +45,7 @@ The labels of all radio buttons in the RadioGroup could be rendered before or af
4645
```HtmlHelper
4746
@(Html.Kendo().RadioGroup()
4847
.Name("radiogroup")
49-
.LabelPosition("after")
48+
.LabelPosition(RadioGroupLabelPosition.After)
5049
.Items(i =>
5150
{
5251
i.Add().Label("First").Value("1");
@@ -58,9 +57,13 @@ The labels of all radio buttons in the RadioGroup could be rendered before or af
5857
{% if site.core %}
5958
```TagHelper
6059
<kendo-radiogroup name="radiogroup"
61-
radio-name="radiogroup"
62-
label-position="RadioGroupLabelPosition.Before"
63-
>
60+
radio-name="radiogroup"
61+
label-position="RadioGroupLabelPosition.After">
62+
<kendo-radiogroup-items>
63+
<kendo-radiogroup-item label="First" value="1"></kendo-radiogroup-item>
64+
<kendo-radiogroup-item label="Second" value="2" ></kendo-radiogroup-item>
65+
<kendo-radiogroup-item label="Third" value="3"></kendo-radiogroup-item>
66+
</kendo-radiogroup-items>
6467
</kendo-radiogroup>
6568
```
6669
{% endif %}

docs-aspnet/html-helpers/editors/radiogroup/layout.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,27 @@ The following example shows how to set the RadioGroup layout:
1616
@(Html.Kendo().RadioGroup()
1717
.Name("radiogroup")
1818
.BindTo(new[] { "English", "German", "Italian", "Russian", "Spanish" })
19-
.Layout("vertical")
19+
.Layout(RadioGroupLayout.Vertical)
2020
.Value("Italian")
2121
)
2222
```
2323
{% if site.core %}
2424
```TagHelper
25+
@{
26+
var items = new List<IInputGroupItem>()
27+
{
28+
new InputGroupItemModel() { Label = "English", Enabled = true, Encoded = false, Value = "1" },
29+
new InputGroupItemModel() { Label = "German", Enabled = true, Encoded = false, Value = "2" },
30+
new InputGroupItemModel() { Label = "Italian", Enabled = true, Encoded = false, Value = "3" },
31+
new InputGroupItemModel() { Label = "Russian", Enabled = true, Encoded = false, Value = "4" },
32+
new InputGroupItemModel() { Label = "Spanish", Enabled = true, Encoded = false, Value = "5" },
33+
};
34+
}
2535
<kendo-radiogroup name="radiogroup"
26-
radio-name="radiogroup"
27-
layout="RadioGroupLayout.Horizontal"
28-
bind-to="Model.Items">
36+
radio-name="radiogroup"
37+
bind-to="items"
38+
layout="RadioGroupLayout.Vertical"
39+
value="3">
2940
</kendo-radiogroup>
3041
```
3142
{% endif %}

docs-aspnet/html-helpers/editors/radiogroup/overview.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The following example demonstrates how to define the RadioGroup.
3333
{% if site.core %}
3434
```TagHelper
3535
<kendo-radiogroup name="radiogroup"
36-
radio-name="radiogroup">
36+
radio-name="radiogroup">
3737
</kendo-radiogroup>
3838
```
3939
{% endif %}
@@ -63,12 +63,12 @@ The following example demonstrates the basic configuration for the RadioGroup.
6363
{% if site.core %}
6464
```TagHelper
6565
<kendo-radiogroup name="radiogroup"
66-
radio-name="radiogroup">
66+
radio-name="radiogroup"
67+
value="1">
6768
<kendo-radiogroup-items>
68-
<kendo-radiogroup-item value="one" label="First">
69-
</kendo-radiogroup-item>
70-
<kendo-radiogroup-item value="two" label="Second">
71-
</kendo-radiogroup-item>
69+
<kendo-radiogroup-item label="Spain" value="1"></kendo-radiogroup-item>
70+
<kendo-radiogroup-item label="Italy" value="2"></kendo-radiogroup-item>
71+
<kendo-radiogroup-item label="UK" value="3"></kendo-radiogroup-item>
7272
</kendo-radiogroup-items>
7373
</kendo-radiogroup>
7474
```

docs-aspnet/html-helpers/editors/radiogroup/razor-page.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,27 @@ For the full project with RazorPages examples, visit our [GitHub repository](htt
3232
.Value("1")
3333
)
3434
```
35+
{% if site.core %}
36+
```tab-TagHelper(csthml)
37+
@page
38+
@model Telerik.Examples.RazorPages.Pages.RadioGroup.RadioGroupIndexModel
39+
40+
@inject Microsoft.AspNetCore.Antiforgery.IAntiforgery Xsrf
41+
@Html.AntiForgeryToken()
42+
43+
<h1>RadioGroup</h1>
44+
45+
<kendo-radiogroup name="radiogroup"
46+
radio-name="radiogroup"
47+
value="1">
48+
<kendo-radiogroup-items>
49+
<kendo-radiogroup-item label="Phone (SMS)" value="1"></kendo-radiogroup-item>
50+
<kendo-radiogroup-item label="E-mail" value="2"></kendo-radiogroup-item>
51+
<kendo-radiogroup-item label="None" value="3"></kendo-radiogroup-item>
52+
</kendo-radiogroup-items>
53+
</kendo-radiogroup>
54+
```
55+
{% endif %}
3556
```tab-PageModel(cshtml.cs)
3657
public class RadioGroupIndexModel : PageModel
3758
{

docs/intro/installation/bower-install.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ page_title: Installing with Bower | Download and Installation | Kendo UI for jQu
44
description: "Get started with Kendo UI for jQuery and install the Kendo UI Professional or Kendo UI Core distributions by using the Bower package manager."
55
previous_url: /install/bower
66
slug: kendoui_bower_packages_kendoui_installation
7-
position: 3
7+
position: 30
88
---
99

1010
# Installing with Bower
@@ -129,3 +129,4 @@ This section provides solutions for common issues you might encounter while inst
129129
* [Installing Kendo UI with NPM]({% slug kendoui_npm_packages_kendoui_installation %})
130130
* [Installing Kendo UI with NuGet]({% slug kendoui_nuget_packages %})
131131
* [Getting Up and Running with Your Kendo UI Project (Guide)]({% slug getting_started_installation_kendoui %})
132+
* [Using Script License Code]({% slug using-license-code %})

docs/intro/installation/cdn-service.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ page_title: Using CDN | Download and Installation | Kendo UI for jQuery
44
description: "Get started with Kendo UI for jQuery and install the Kendo UI widgets by using the Kendo UI CDN services."
55
previous_url: /install/cdn
66
slug: kendoui_cdn_services_installation
7-
position: 4
7+
position: 40
88
---
99

1010
# Using CDN
@@ -108,3 +108,4 @@ This section provides solutions for common issues you might encounter while usin
108108
* [Installing Kendo UI with NPM]({% slug kendoui_npm_packages_kendoui_installation %})
109109
* [Installing Kendo UI with NuGet]({% slug kendoui_nuget_packages %})
110110
* [Getting Up and Running with Your Kendo UI Project (Guide)]({% slug getting_started_installation_kendoui %})
111+
* [Using Script License Code]({% slug using-license-code %})

docs/intro/installation/hosting-kendoui.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Adding Kendo UI in Your Project
33
page_title: Adding Kendo UI in Your Project | Download and Installation | Kendo UI for jQuery
44
description: "Get started with Kendo UI for jQuery and learn how to host the library in your project by downloading the bundles and adding the CSS and JavaScript references."
55
slug: hosting_kendoui
6-
position: 2
6+
position: 20
77
---
88

99
# Adding Kendo UI in Your Project
@@ -179,3 +179,4 @@ The following example demonstrates the full initialization of the [DatePicker](h
179179
* [Installing Kendo UI with NPM]({% slug kendoui_npm_packages_kendoui_installation %})
180180
* [Installing Kendo UI with NuGet]({% slug kendoui_nuget_packages %})
181181
* [Getting Up and Running with Your Kendo UI Project (Guide)]({% slug getting_started_installation_kendoui %})
182+
* [Using Script License Code]({% slug using-license-code %})

docs/intro/installation/npm.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Installing with NPM
33
page_title: Installing with NPM | Download and Installation | Kendo UI for jQuery
44
description: "Get started with Kendo UI for jQuery and install Kendo UI Core or Kendo UI as NPM packages."
55
slug: kendoui_npm_packages_kendoui_installation
6-
position: 5
6+
position: 50
77
---
88

99
# Installing with NPM
@@ -14,7 +14,7 @@ This article assumes that you are familiar with the necessary steps to use brows
1414

1515
Kendo UI for jQuery maintains the [Kendo UI Core](#kendo-ui-core-on-npm) and the [Kendo UI](#kendo-ui-on-npm) NPM packages. All Kendo UI for jQuery official releases, service packs, and internal builds are uploaded to both of them.
1616

17-
> The Kendo UI for jQuery NPM package is available only for commercial license holders. For more information, refer to the [list of Kendo UI for jQuery components and their bundle support]({% slug welcometo_kendoui %}#list-of-widgets).
17+
> As of the R2 2022 release the commercial NPM package (*@progress/kendo-ui*) requires a [script license activation]({% slug using-license-code %}).
1818
1919
## Kendo UI Core on NPM
2020

@@ -74,3 +74,4 @@ This section provides solutions for common issues you might encounter while inst
7474
* [Installing Kendo UI for jQuery by Using the CDN Services]({% slug kendoui_cdn_services_installation %})
7575
* [Installing Kendo UI for jQuery with NuGet]({% slug kendoui_nuget_packages %})
7676
* [Getting Up and Running with Your Kendo UI for jQuery Project (Guide)]({% slug getting_started_installation_kendoui %})
77+
* [Using Script License Code]({% slug using-license-code %})

0 commit comments

Comments
 (0)