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/globalization/overview.md
+35-4Lines changed: 35 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,27 +13,58 @@ Globalization is the process of designing and developing an application that wor
13
13
14
14
It combines localization (the translation of component messages) with internationalization (their adaptation to a specific culture). Cultures require and define particular information for their number formats, week and month names, date and time formats, and so on.
15
15
16
+
All Kendo UI widgets and their {{ site.framework }} server-side wrappers which support date or number formatting depend also on the [current culture](https://docs.telerik.com/kendo-ui/api/javascript/kendo/methods/culture). Usually, such components are more complex (for example, the [Grid]({% slug globalization_grid_aspnetcore %}), [ListView]({% slug globalization_htmlhelpers_listview %}), [Charts]({% slug htmlhelpers_charts_aspnetcore %}), and so on).
17
+
18
+
The following {{ site.product }} helpers depend on the [current culture](https://docs.telerik.com/kendo-ui/api/javascript/kendo/methods/culture):
To use a culture that is different from the default `en-US` one in {{ site.product }}:
19
36
20
-
1. Copy the required culture JavaScript file from the `\js\culture\` folder of your {{ site.product }} installation to the {% if site.core %}`wwwroot/lib/kendo-ui/js/cultures/`{% else %}`~/Scripts/cultures/`{% endif %} folder of your application. This example uses the Spanish `es-ES` culture.
21
-
1. Include the corresponding culture JavaScript file after the other JavaScript product files.
37
+
1. Copy the required culture JavaScript file from the `\js\culture\` folder of your [{{ site.product }} installation]{% if site.core %}({% slug downloadinstall_aspnetcore %}){% else %}({% slug overview_downloadinstallation_mvc %}){% endif %} to the {% if site.core %}`wwwroot/lib/kendo-ui/js/cultures/`{% else %}`~/Scripts/cultures/`{% endif %} folder of your application. Alternatively, provide the culture files by using the [Kendo CDN service]{% if site.core %}({% slug cdnservices_core %}){% else %}({% slug cdnservices_aspnetmvc %}){% endif %}.
38
+
39
+
1. Include the corresponding culture JavaScript file after the other JavaScript product files. This example uses the Spanish `es-ES` culture.
1. Set the current culture by calling the [`kendo.culture`](https://docs.telerik.com/kendo-ui/api/javascript/kendo/methods/culture) method. You have to add the script block after the culture JavaScript file. As a result, all {{ site.product }} helpers will use the `es-ES` culture for parsing and formatting dates and numbers.
Copy file name to clipboardExpand all lines: docs-aspnet/html-helpers/data-management/grid/grouping/aggregates.md
+31-2Lines changed: 31 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ Aggregates can be used for the entire grid via:
41
41
Or, to each individual group via:
42
42
43
43
*`ClientGroupFooterTemplate` of a `GridColumn` - a footer in the respective column that renders when the grid is grouped.
44
-
*`ClientGroupHeaderTemplate` of a `GridColumn` - a header in the respective column that renders when the grid is grouped by that column. The `value` field in the context carries the current group value.
44
+
*`ClientGroupHeaderColumnTemplate` of a `GridColumn` - a header in the respective column that renders when the grid is grouped by that column. The `value` field in the context carries the current group value.
45
45
46
46
## How to Enable Aggregates
47
47
@@ -51,7 +51,36 @@ To enable aggregates:
51
51
1. Use the aggregate result in the templates that support it - their `context` is strongly typed and carries the aggregate values in the respective fields.
52
52
1. Set the grid's `Groupable` property to `true`.
53
53
* If you will be using only `FooterTemplate`s - grouping is not required.
54
-
1. Group the grid to see the effect on group-specific templates
54
+
1. Group the grid to see the effect on group-specific templates.
The culture and localization (the translation of component messages) scripts are included in the `js` folder. For more information on using localization, internationalization, and right-to-left (RTL) support with {{ site.product }} helpers, refer to the article on [globalization support by {{ site.product }}]({% slug overview_globalization_core %}).
38
+
39
+
37
40
1. Register the UI styles and scripts in `~/Views/Shared/_Layout.cshtml`.
38
41
39
42
> * The CDN links and/or package versions have to point to the same UI for ASP.NET Core version which your project references.
Copy file name to clipboardExpand all lines: docs/backwards-compatibility/2021-backward-compatibility.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,26 +10,26 @@ position: 1
10
10
11
11
This article lists the breaking or important changes in the 2021 releases of Kendo UI.
12
12
13
-
## Kendo UI 2021 R3
13
+
## Kendo UI 2021 R3 SP 1
14
+
15
+
**ColorPicker**
16
+
17
+
As of the end of 2021, the ColorPicker has a new design. As a result, some new features were introduced. If you prefer the old design of the widget, refer to [this section from our documentation](https://docs.telerik.com/kendo-ui/controls/editors/colorpicker/overview#old-design-of-the-colorpicker).
14
18
15
-
> Important change
19
+
## Kendo UI 2021 R3
16
20
17
21
**MultiSelect**
18
22
19
23
As of the 2021 R3 release the MultiSelect in virtualization scenario will no longer support `Shift` + `Arrow` key selection as it is described in the [Keyboard navigation demo](https://demos.telerik.com/kendo-ui/multiselect/keyboard-navigation). That is because when going from one virtual page of MultiSelect items to another the items indexes are reused. As the range selection functionality relies on indexes, executing it via the `Shift` + `Arrow` combination may result in improper selection in the widget. That is why it has been disabled for virtualized MultiSelect widgets.
20
24
21
25
## Kendo UI 2021 R2 SP1
22
26
23
-
> Important change
24
-
25
27
**TileLayout**
26
28
27
29
The TileLayout container headers come with a new rendering. The TileLayout containers no longer render the header texts inside `<h5>` elements, but place them inside `<div>` elements.
28
30
29
31
## Kendo UI 2021 R2
30
32
31
-
> Important change
32
-
33
33
**Scheduler**
34
34
35
35
As of the 2021 R2 release the events that are 24 hours or longer and do not have their `isAllDay` field set to `true` will be rendered in the regular (non all day) slots. In the previous versions such events were rendered in the allDaySlot. With the introduced change the `allDaySlot` will display only those events that have their `isAllDay` field set to `true`.
description: "Check out the Contrast Tool in the ColorPicker."
5
+
slug: contrast_tool_kendoui_colorpicker_widget
6
+
position: 4
7
+
---
8
+
9
+
# Contrast Tool
10
+
11
+
As of the end of 2021, the ColorPicker provides a Color Contrast Tool. It provides the option for checking the color contrast ratio between two colors. Color contrast between text and background is important on web pages. It affects some people’s ability to perceive the information. The tool follows the WCAG recommendations for web accessibility.
12
+
13
+
According to the WCAG standard, there are two levels of contrast ratio:
14
+
* AA (minimum contrast)—The level AA requires a contrast ratio of at least 4.5:1 for normal text.
15
+
* AAA (enhanced contrast)—The level AAA requires a contrast ratio of at least 7:1 for normal text.
16
+
17
+
The example below demonstrates how to enable the contrast tool in the ColorPicker:
page_title: jQuery ColorPicker Documentation | ColorPicker RGB and HEX Formats
4
+
description: "Check out the RGB and HEX input formats in the ColorPicker."
5
+
slug: rgb_hex_kendoui_colorpicker_widget
6
+
position: 3
7
+
---
8
+
9
+
# RGB and HEX Input Formats
10
+
11
+
As of the end of 2021, the ColorPicker supports both RGB and HEX formats as input through its [formats](/api/javascript/ui/colorpicker/configuration/formats) configuration. To choose the default format, you can use the [format](/api/javascript/ui/colorpicker/configuration/format) option:
12
+
13
+
```dojo
14
+
<input id="rgb-picker" />
15
+
<input id="hex-picker" />
16
+
17
+
<script>
18
+
$("#rgb-picker").kendoColorPicker({
19
+
preview: false,
20
+
format: "rgb",
21
+
formats: ["rgb", "hex"]
22
+
});
23
+
24
+
$("#hex-picker").kendoColorPicker({
25
+
preview: false,
26
+
format: "hex",
27
+
formats: ["rgb", "hex"]
28
+
});
29
+
</script>
30
+
```
31
+
32
+
## See Also
33
+
34
+
*[RGB and HEX formats of the ColorPicker (Demo)](https://demos.telerik.com/kendo-ui/colorpicker/rgb-hex)
35
+
*[JavaScript API Reference of the ColorPicker](/api/javascript/ui/colorpicker)
description: "Review the available views in the ColorPicker."
5
+
slug: views_kendoui_colorpicker_widget
6
+
position: 2
7
+
---
8
+
9
+
# ColorPicker Views
10
+
11
+
As of the end of 2021, the ColorPicker has a new design. One of the introduced new features is the [views](/api/javascript/ui/colorpicker/configuration/views) configuration. It allows you to choose between a `gradient` and a `palette` view. You can also choose which the default view would be through the [view](/api/javascript/ui/colorpicker/configuration/view) option.
12
+
13
+
```dojo
14
+
<input id="palette-picker" />
15
+
<input id="gradient-picker" />
16
+
<script>
17
+
$("#palette-picker").kendoColorPicker({
18
+
preview: false,
19
+
view: "palette",
20
+
views: ["gradient", "palette"]
21
+
});
22
+
23
+
$("#gradient-picker").kendoColorPicker({
24
+
preview: false,
25
+
view: "gradient",
26
+
views: ["gradient", "palette"]
27
+
});
28
+
</script>
29
+
```
30
+
31
+
## See Also
32
+
33
+
*[Views of the ColorPicker (Demo)](https://demos.telerik.com/kendo-ui/colorpicker/views)
34
+
*[JavaScript API Reference of the ColorPicker](/api/javascript/ui/colorpicker)
0 commit comments