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: controls/chat/client-side-programming/events.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ position: 1
14
14
15
15
*[OnActionClick]({%slug chat/client-side-programming/events/onactionclick%}) occurs when an action button is clicked inside an attachment template, or when a suggestedAction is clicked.
16
16
17
-
*[OnInitialize]({%slug chat/client-side-programming/events/oninitialize%}) occurs when the **RadChat** starts initializing on the client-side.
17
+
*[OnInitialize]({%slug chat/client-side-programming/events/oninitialize%}) occurs when the **RadChat** starts initializing on the client-side, before the underlying Kendo UI Chat widget is initialized.
18
18
19
19
*[OnLoad]({%slug chat/client-side-programming/events/onload%}) occurs after the **RadChat** has been fully initialized on the client-side.
Copy file name to clipboardExpand all lines: controls/chat/client-side-programming/events/oninitialize.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ position: 1
10
10
11
11
# OnInitialize
12
12
13
-
The **OnInitialize** client-side event occurs when the **RadChat** starts initializing on the client-side.
13
+
The **OnInitialize** client-side event occurs when the **RadChat** starts initializing on the client-side, before the underlying Kendo UI Chat widget is initialized.
14
14
15
15
The event handler receives one parameter:
16
16
@@ -31,6 +31,7 @@ The event handler receives one parameter:
Copy file name to clipboardExpand all lines: controls/chat/client-side-programming/overview.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,15 @@ position: 0
10
10
11
11
# Client-side Programming Overview
12
12
13
-
The **RadChat** control is built on top of the [Kendo UI Chat](http://demos.telerik.com/kendo-ui/chat/index). This allows you to interact with the chat entirely on the client-side.
13
+
The **RadChat** control is built on top of the [Kendo UI Chat](http://demos.telerik.com/kendo-ui/chat/index) widget. This allows you to interact with the chat entirely on the client-side.
14
14
15
15
## Getting the RadChat Client-side Object
16
16
17
-
**RadChat** creates a client-side object, which can be referred via the **ClientID** of the control and the **$find** function. Then, you can access the actual object that exposes the API of the Kendo UI chat through the **get_kendoWidget** method of **RadChat**'s client-side object as shown in **Example 1**.
17
+
**RadChat** creates a client-side object, which can be referred via the **ClientID** of the control and the **$find** function. This allows you to use the API of the RadChat client-side object.
18
18
19
-
When you have referenced the Kendo UI chat, you can utilize the [full capabilities of its API](http://docs.telerik.com/kendo-ui/api/javascript/ui/chat).
19
+
Once you obtain a reference to the [RadChat client-side object]({%slug chat/client-side-programming/objects/radchat%}), you can access the underlying Kendo UI Chat widget through the **get_kendoWidget** method as shown in **Example 1**.
20
+
21
+
When you have a reference to the Kendo UI Chat widget, you can utilize the [API of the Kendo UI widget](http://docs.telerik.com/kendo-ui/api/javascript/ui/chat).
20
22
21
23
>caption Example 1: Get a reference to the underlying Kendo UI Chat widget.
22
24
````JavaScript
@@ -28,7 +30,7 @@ var kendochat = radchat.get_kendoWidget();
Copy file name to clipboardExpand all lines: controls/chat/functionality/actions.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ position: 0
10
10
11
11
# Default Actions
12
12
13
-
Out of the box, the **RadChat**supports **suggested actions**. To display the **suggestedActions** propmt, manually call the `renderSuggestedActions` method of the control.
13
+
The **RadChat**control has a support for default **suggested actions**. To display the **suggestedActions** propmt, you need to call the `renderSuggestedActions` method of the control.
14
14
15
15
````ASPX
16
16
<telerik:RadChat runat="server" ID="RadChat1">
@@ -38,8 +38,10 @@ function renderSuggestedActions() {
0 commit comments