Skip to content

Commit 2bd61f6

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent 322c0bc commit 2bd61f6

File tree

16 files changed

+440
-208
lines changed

16 files changed

+440
-208
lines changed

docs-aspnet/_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ navigation:
442442
position: 10
443443
"integration-with-other-telerik-products":
444444
title: "Integration with other Telerik Products"
445-
position: 11
445+
position: 11
446446
"backwards-compatibility":
447447
title: "Breaking Changes"
448448
position: 12
@@ -664,10 +664,10 @@ navigation:
664664
baseurl: /aspnet-core
665665

666666
## The Kendo UI version used
667-
cdnVersion: "2021.3.914"
667+
cdnVersion: "2021.3.1109"
668668

669669
## The MVC Core version used
670-
mvcCoreVersion: "2021.3.914"
670+
mvcCoreVersion: "2021.3.1109"
671671

672672
ff-sheet-id: 1mottKpkbJFxkUq6rS3CsPrT8JQOE2JlUtsJBR622cxs
673673

docs-aspnet/backwards-compatibility/2021-backwards-compatibility.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,21 @@ position: 1
1010

1111
This article lists the breaking or important changes in the 2021 releases of Kendo UI.
1212

13+
## {{ site.product }} R3 2021 SP1
14+
15+
**ColorPicker**
16+
17+
As of the 2021 R3 SP1 release, the ColorPicker has a new design and some new features were introduced. To revert to the legacy design use the following configuration:
18+
19+
```
20+
@(Html.Kendo().ColorPicker()
21+
.Name("colorpicker")
22+
.Input(false)
23+
.Preview(false)
24+
.Views(new string[] { "gradient"})
25+
)
26+
```
27+
1328
## {{ site.product }} R3 2021
1429

1530
> Important change

docs-aspnet/compatibility/json-serialization.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,4 @@ To maintain the property names casing, locate the `ConfigureServices` method and
9898
* [PDF and Excel Export Support by Telerik UI for ASP.NET Core]({% slug exportsupport_core %})
9999
* [Operation System Support by Telerik UI for ASP.NET Core]({% slug ossupport_core %})
100100
* [Earlier Versions Support Policy by Telerik UI for ASP.NET Core]({% slug oldversionssupportpolicy_core %})
101+
* [Data Binding of the Telerik UI for ASP.NET Core Grid]({% slug htmlhelpers_grid_aspnetcore_binding_overview %})

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,11 @@ To bind to remote data by using the DataSource component:
195195
[HttpPost]
196196
public IActionResult _SpainElectricityProduction()
197197
{
198-
// Data is usually read from a data context. Static data is used in this example for clarity.
198+
// Data is usually read from a service that communicates with the an instance of the DbContext.
199+
// Refer to the MSDN documentation for further details on connecting to a data base and using a DBContext:
200+
// https://docs.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.dbcontext?view=efcore-5.0
201+
//
202+
// For clarity, in this example static data is generated and returned from the remote-endpoint.
199203
var result = new ElectricityProduction[] {
200204
new ElectricityProduction("2000", 18, 31807, 4727, 62206),
201205
new ElectricityProduction("2001", 24, 43864, 6759, 63708),
@@ -236,6 +240,7 @@ To bind to remote data by using the DataSource component:
236240
237241
1. In the view, configure the Chart to use the action method that you created.
238242
243+
```tab-Razor
239244
@(Html.Kendo().Chart<RemoteBindingExample.Models.ElectricityProduction>()
240245
.Name("chart")
241246
.Title("Spain electricity production (GWh)")
@@ -262,10 +267,11 @@ To bind to remote data by using the DataSource component:
262267
.Format("{0:N0}")
263268
)
264269
)
270+
```
265271
266272
1. (Optional) Configure a Custom DataSource.
267273
268-
Unlike the Grid, the Chart is configured to read a flat data response by default. If you have custom logic that requires the usage of the `ToDataSourceResult()` extension method when returning data for the Chart, configure a custom DataSource with a schema that can correctly parse the response.
274+
Unlike the Grid, the Chart is configured to read a flat data response by default. If you have custom logic that requires the usage of the `ToDataSourceResult()` extension method when returning data for the Chart, configure a custom DataSource with a schema that can correctly parse the response. For further details on the DataSource configuration refer to the [DataSource section of the documentation]({% slug htmlhelpers_datasource_aspnetcore %}).
269275
270276
```tab-Controller
271277
public IActionResult Products_Read([DataSourceRequest] DataSourceRequest request)

docs-aspnet/html-helpers/conversational-ui/chat/signalr-p-to-p.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ In the `Views\Home\Index.cshtml` fie, initialize the Chat and implement handlers
198198
```
199199
200200
1. Copy the `@aspnet/signalr` folder from the `node_modules` directory to the `wwwroot/lib` folder of the Core project.
201-
1. Include the SignalR script on the HTML page.
201+
1. Include the SignalR script on the HTML page where you have initialized the Chat component.
202202
203203
```
204204
<script src="lib/signalr/dist/browser/signalr.min.js"></script>
@@ -245,6 +245,43 @@ In the `Views\Home\Index.cshtml` fie, initialize the Chat and implement handlers
245245
});
246246
```
247247
248+
1. Complete SignalR Client Hub Proxy configuration.
249+
250+
```
251+
<script src="lib/signalr/dist/browser/signalr.min.js"></script>
252+
253+
<script>
254+
// Point to the Hub remote endpoint.
255+
window.chatHub = new signalR.HubConnectionBuilder()
256+
.withUrl('/chat')
257+
.build();
258+
259+
chatHub.start()
260+
.catch(function(err) {
261+
console.error(err.toString());
262+
});
263+
264+
$(document).ready(function() {
265+
window.chat = $("#chat").getKendoChat();
266+
267+
chatHub.on('broadcastMessage', function(sender, message) {
268+
var message = {
269+
type: 'text',
270+
text: message
271+
};
272+
273+
// Render the received message in the Chat.
274+
chat.renderMessage(message, sender);
275+
});
276+
277+
chatHub.on('typing', function(sender) {
278+
// Display the typing notification in the Chat.
279+
chat.renderMessage({ type: 'typing' }, sender);
280+
});
281+
});
282+
</script>
283+
```
284+
248285
1. Start the Peer-to-Peer Chat application.
249286
250287
{% else %}

docs-aspnet/html-helpers/data-management/grid/editing/overview.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ The Grid provides the following edit modes:
1616
* [Popup editing]({% slug popupediting_grid_aspnetcore %})
1717
* [Incell editing]({% slug batchediting_grid_aspnetcore %})
1818
* [Custom editors and validation]({% slug customediting_grid_aspnetcore %})
19+
* [WebAPI editing]({% slug webapi_editing_grid_aspnetmvc %})
1920

2021
## See Also
2122

docs-aspnet/html-helpers/data-management/grid/hierarchy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ To implement hierarchy in the Grid, use the `ClientDetailTemplateId()` method an
1515
## See Also
1616

1717
* [Hierarchy by the Grid HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/grid/hierarchy)
18+
* [Grid Hierarchy with Local Data]({% slug grid-hierarchy-localdata %})
1819
* [Server-Side API](/api/grid)

docs-aspnet/html-helpers/data-management/grid/templates/editor-templates.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,6 @@ Your project may require you to create a custom editor for a specific property.
107107

108108
## See Also
109109

110+
* [Editing Overview for the Grid]({% slug htmlhelpers_grid_aspnetcore_editing_overview %})
110111
* [Templates by the Grid HtmlHelper for {{ site.framework }} (Demos)](https://demos.telerik.com/{{ site.platform }}/grid/toolbar-template)
111112
* [Server-Side API](/api/grid)

docs-aspnet/html-helpers/editors/combobox/filtering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ position: 5
1010

1111
The Telerik UI ComboBox HtmlHelper for {{ site.framework }} allows the user to filter the available items by their text so they can find the one they need more quickly.
1212

13-
To enable the filtering, set the `Filter` to the desired filter operator such as `contains`. When the filtering is enabled, the user can decide where the actual filtering happens:
13+
To enable the filtering, set the [`Filter`](https://docs.telerik.com/aspnet-core/api/Kendo.Mvc.UI/FilterType) to the desired filter operator.Supported options include `Contains`, `StartsWith` and `EndsWith`. When the filtering is enabled, the user can decide where the actual filtering happens:
1414

1515
* [Client Filtering](#client-filtering)
1616
* [Server Filtering](#server-filtering)

docs-aspnet/html-helpers/editors/editor/image-browser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The following list provides information about the default requests and responses
4747
4848
`name` from the previous example is the name of the file or directory, `type` is either an `f` for a file or a `d` for a directory, and `size` is the file size (optional).
4949
50-
- `Destroy()`&mdash;Makes a `POST` request with the following parameters:
50+
- `Destroy()`&mdash;Makes a `POST` request with the following parameters and expects an empty ContentResult as a response:
5151
5252
- `name`&mdash;The file or the directory that will be deleted.
5353
- `path`&mdash;The directory in which the file or the directory resides.

0 commit comments

Comments
 (0)