Skip to content

Commit 3b60408

Browse files
author
Kendo Bot
committed
Sync with Kendo UI Professional
1 parent ceafca0 commit 3b60408

File tree

181 files changed

+1960
-192
lines changed

Some content is hidden

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

181 files changed

+1960
-192
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 2018 Releases
33
page_title: 2018 Releases
44
description: "Learn about the breaking changes and backwards compatibility released by {{ site.product }} in 2018."
55
slug: breakingchanges_aspnetcore_2018
6-
position: 4
6+
position: 5
77
---
88

99
# 2018 Releases

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 2020 Releases
33
page_title: 2020 Releases
44
description: "Learn about the breaking changes and backwards compatibility released by {{ site.product }} in 2020."
55
slug: breakingchanges_2020
6-
position: 3
6+
position: 4
77
---
88

99
# 2020 Releases

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 2021 Releases
33
page_title: 2021 Releases
44
description: "Learn about the breaking changes and backwards compatibility released by {{ site.product }} in 2021."
55
slug: breakingchanges_2021
6-
position: 2
6+
position: 3
77
---
88

99
# 2021 Releases

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 2022 Releases
33
page_title: 2022 Releases
44
description: "Learn about the breaking changes and backwards compatibility released by {{ site.product }} in 2022."
55
slug: breakingchanges_2022
6-
position: 1
6+
position: 2
77
---
88

99
# 2022 Releases
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: 2023 Releases
3+
page_title: 2023 Releases
4+
description: "Learn about the breaking changes and backwards compatibility released by {{ site.product }} in 2023."
5+
slug: breakingchanges_2023
6+
position: 1
7+
---
8+
9+
# 2023 Releases
10+
11+
This article lists the breaking or important changes in the 2023 releases of {{ site.product }}.
12+
13+
## {{ site.product }} R1 2023
14+
15+
As of the R1 2023 release, the `Load` method of the `Telerik.Web.PDF` assembly is obsolete. The method was used to read from the file system. For security reasons, loading options should be limited to `byte[]` and `Stream`. As of R1 2023, the developers are responsible for reading from the file system and passing a stream to the loaded document.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ To reference an existing Chart instance, use the [`jQuery.data()`](http://api.jq
387387
## See Also
388388

389389
* [Using the API of the Chart HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/chart-api/index)
390-
* [Basic Usage of the Kendo UI Area Charts Tag Helper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/area-charts/tag-helper)
391390
* [Basic Usage of the Bar Chart HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/bar-charts/index)
392391
* [Basic Usage of the Line Chart HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/line-charts/index)
393392
* [Server-Side API](/api/chart)
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
---
2+
title: Events
3+
page_title: Events
4+
description: "Learn how to handle the events of the Telerik UI AutoComplete component for {{ site.framework }}."
5+
slug: events_autocomplete_aspnetcore
6+
position: 7
7+
---
8+
9+
# Events
10+
11+
The Telerik UI AutoComplete for {{ site.framework }} exposes multiple [events](/api/Kendo.Mvc.UI.Fluent/AutoCompleteEventBuilder) that allow you to control and customize the behavior of the component.
12+
13+
For a complete example of the basic AutoComplete events, refer to the [demo on using the events of the AutoComplete](https://demos.telerik.com/{{ site.platform }}/autocomplete/events).
14+
15+
## Handling by Handler Name
16+
17+
The following example demonstrates how to subscribe to events by a handler name.
18+
19+
```HtmlHelper
20+
@(Html.Kendo().AutoComplete()
21+
.Name("autocomplete")
22+
.DataTextField("Text")
23+
.DataValueField("Value")
24+
.BindTo(new List<SelectListItem>() {
25+
new SelectListItem() {
26+
Text = "Item1", Value = "1"
27+
},
28+
new SelectListItem() {
29+
Text = "Item2", Value = "2"
30+
},
31+
new SelectListItem() {
32+
Text = "Item3", Value = "3"
33+
}
34+
})
35+
.Events(e => e
36+
.Select("onSelect")
37+
.Change("onChange")
38+
)
39+
)
40+
<script>
41+
function onSelect() {
42+
// Handle the select event.
43+
}
44+
45+
function onChange() {
46+
// Handle the change event.
47+
}
48+
</script>
49+
```
50+
{% if site.core %}
51+
```TagHelper
52+
@{
53+
var data = new List<SelectListItem>() {
54+
new SelectListItem() {
55+
Text = "Item1", Value = "1"
56+
},
57+
new SelectListItem() {
58+
Text = "Item2", Value = "2"
59+
},
60+
new SelectListItem() {
61+
Text = "Item3", Value = "3"
62+
}
63+
};
64+
}
65+
66+
<script>
67+
function onSelect() {
68+
// Handle the select event.
69+
}
70+
71+
function onChange() {
72+
// Handle the change event.
73+
}
74+
</script>
75+
76+
<kendo-autocomplete name="autocomplete"
77+
datatextfield="Text"
78+
datavaluefield="Value"
79+
bind-to="data"
80+
on-select="onSelect"
81+
on-change="onChange">
82+
</kendo-autocomplete>
83+
```
84+
{% endif %}
85+
86+
## Handling by Template Delegate
87+
88+
The following example demonstrates how to subscribe to events by a template delegate.
89+
90+
```HtmlHelper
91+
@(Html.Kendo().AutoComplete()
92+
.Name("autocomplete")
93+
.DataTextField("Text")
94+
.DataValueField("Value")
95+
.BindTo(new List<SelectListItem>() {
96+
new SelectListItem() {
97+
Text = "Item1", Value = "1"
98+
},
99+
new SelectListItem() {
100+
Text = "Item2", Value = "2"
101+
},
102+
new SelectListItem() {
103+
Text = "Item3", Value = "3"
104+
}
105+
})
106+
.Events(e => e
107+
.Select(@<text>
108+
function() {
109+
// Handle the select event inline.
110+
}
111+
</text>)
112+
.Change(@<text>
113+
function() {
114+
// Handle the change event inline.
115+
}
116+
</text>)
117+
)
118+
)
119+
```
120+
{% if site.core %}
121+
```TagHelper
122+
@{
123+
var data = new List<SelectListItem>() {
124+
new SelectListItem() {
125+
Text = "Item1", Value = "1"
126+
},
127+
new SelectListItem() {
128+
Text = "Item2", Value = "2"
129+
},
130+
new SelectListItem() {
131+
Text = "Item3", Value = "3"
132+
}
133+
};
134+
}
135+
136+
<kendo-autocomplete name="autocomplete"
137+
datatextfield="Text"
138+
datavaluefield="Value"
139+
bind-to="data"
140+
on-select="function() {
141+
// Handle the select event inline.
142+
}"
143+
on-change="function() {
144+
// Handle the change event inline.
145+
}">
146+
</kendo-autocomplete>
147+
```
148+
{% endif %}
149+
150+
## Next Steps
151+
152+
* [Using the AutoComplete Events (Demo)](https://demos.telerik.com/{{ site.platform }}/autocomplete/events)
153+
154+
## See Also
155+
156+
* [Using the API of the AutoComplete HtmlHelper for {{ site.framework }} (Demo)](https://demos.telerik.com/{{ site.platform }}/autocomplete/api)
157+
* [AutoComplete Server-Side API](/api/autocomplete)
158+
* [AutoComplete Client-Side API](https://docs.telerik.com/kendo-ui/api/javascript/ui/autocomplete)

0 commit comments

Comments
 (0)