Skip to content

Commit 18080d2

Browse files
committed
docs(chat): Update slugs and image URLs
1 parent bced1b4 commit 18080d2

File tree

6 files changed

+36
-36
lines changed

6 files changed

+36
-36
lines changed

controls/chat/functionality/actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To display the **suggestedActions** propmt, you need to call the `renderSuggest
1818

1919
>caption **Figure 1**: A Chat with suggested actions.
2020
21-
![chat with suggested actions](images/chat-suggested-actions.png)
21+
![chat with suggested actions](../images/chat-suggested-actions.png)
2222

2323
````ASPX
2424
<telerik:RadChat runat="server" ID="RadChat1" Width="350px" Height="300px">

controls/chat/functionality/cards.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Rich cards are complex attachment messages that can contain additional message s
1414

1515
>caption **Figure 1**: A Chat that uses the default HeroCard template.
1616
17-
![chat with heroCard template](images/chat-heroCard.png)
17+
![chat with heroCard template](../images/chat-heroCard.png)
1818

1919
````ASPX
2020
<telerik:RadChat runat="server" ID="RadChat1">
@@ -51,9 +51,9 @@ function renderAttachments() {
5151

5252
The layout of a collection of attachments can be:
5353
* **Carousel** - displays multiple cards *horizontally*;
54-
![carousel](images/chat-card-carousel.png)
54+
![carousel](../images/chat-card-carousel.png)
5555
* **List** - displays multiple cards *vertically*;
56-
![deck](images/chat-card-list.png)
56+
![deck](../images/chat-card-list.png)
5757

5858
To further customize the appearance of a card, you can also use [Custom Templates]({%slug chat/functionality/templates%}) and [Custom Components]({%slug chat/functionality/components%}) articles.
5959

controls/chat/functionality/components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The following example demonstrates how to place a [Kendo UI Calendar](https://do
1717

1818
>caption **Figure 1**: A Chat renders a Kendo UI Calendar to facilitate date choosing.
1919
20-
![chat with custom components](images/chat-custom-component-calendar.png)
20+
![chat with custom components](../images/chat-custom-component-calendar.png)
2121

2222
````HTML
2323
<%-- load Kendo UI styles --%>
@@ -109,7 +109,7 @@ function addCustomComponent() {
109109

110110
* [RadChat Structure]({%slug chat/structure%})
111111

112-
* [RadChat Server-Side Programming]({%slug chat/server-side-programming%})
112+
* [RadChat Server-Side Programming]({%slug chat/server-side-programming/overview%})
113113

114114
* [RadChat Client-Side Programming]({%slug chat/client-side-programming/overview%})
115115

controls/chat/functionality/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The following example demonstrates how to implement a simple [Kendo UI Template]
1717

1818
>caption **Figure 1**: A chat uses custom Kendo UI Templates.
1919
20-
![chat with custom template](images/chat-custom-template.png)
20+
![chat with custom template](../images/chat-custom-template.png)
2121

2222
````ASPX
2323
<telerik:RadChat runat="server" ID="RadChat1">

controls/chat/getting-started.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,43 +22,43 @@ The following tutorial demonstrates how you can add a simple **RadChat** control
2222

2323
>caption **Example 1**: Declaration of a **RadChat** control.
2424

25-
````ASP.NET
26-
<asp:ScriptManager runat="server" ID="ScriptManager1" />
27-
<telerik:RadChat ID="RadChat1" runat="server">
28-
</telerik:RadChat>
25+
````ASPX
26+
<asp:ScriptManager runat="server" ID="ScriptManager1" />
27+
<telerik:RadChat ID="RadChat1" runat="server">
28+
</telerik:RadChat>
2929
````
3030

3131

3232
1. Set some of the messages and user settings like **Placeholder**, **Name** and **IconUrl**.
3333

3434
>caption **Example 2**: The chat now has a custom placeholder message, username and avatar
3535

36-
````ASP.NET
37-
<asp:ScriptManager runat="server" ID="ScriptManager1" />
38-
<telerik:RadChat runat="server" ID="RadChat1">
39-
<MessagesSettings Placeholder="Type your message here..." />
40-
<UserSettings Name="John" IconUrl="avatar.png" />
41-
</telerik:RadChat>
36+
````ASPX
37+
<asp:ScriptManager runat="server" ID="ScriptManager1" />
38+
<telerik:RadChat runat="server" ID="RadChat1">
39+
<MessagesSettings Placeholder="Type your message here..." />
40+
<UserSettings Name="John" IconUrl="avatar.png" />
41+
</telerik:RadChat>
4242
````
4343

4444
1. Press F5 to run the application. You will see the chat that is displayed in **Figure 1**. From this point you can start interacting with the chat.
4545

4646
>caption **Example 3**: Assigning the client-side event handlers:
4747

48-
````ASP.NET
49-
<asp:ScriptManager runat="server" ID="ScriptManager1" />
50-
<telerik:RadChat runat="server" ID="RadChat1" Width="300px" Height="300px">
51-
<ClientEvents
52-
OnActionClick="OnActionClick"
53-
OnInitialize="OnInitialize"
54-
OnLoad="OnLoad"
55-
OnPost="OnPost"
56-
OnSendMessage="OnSendMessage"
57-
OnTypingEnd="OnTypingEnd"
58-
OnTypingStart="OnTypingStart" />
59-
<MessagesSettings Placeholder="Type your message here..." />
60-
<UserSettings Name="John" IconUrl="avatar.png" />
61-
</telerik:RadChat>
48+
````ASPX
49+
<asp:ScriptManager runat="server" ID="ScriptManager1" />
50+
<telerik:RadChat runat="server" ID="RadChat1" Width="300px" Height="300px">
51+
<ClientEvents
52+
OnActionClick="OnActionClick"
53+
OnInitialize="OnInitialize"
54+
OnLoad="OnLoad"
55+
OnPost="OnPost"
56+
OnSendMessage="OnSendMessage"
57+
OnTypingEnd="OnTypingEnd"
58+
OnTypingStart="OnTypingStart" />
59+
<MessagesSettings Placeholder="Type your message here..." />
60+
<UserSettings Name="John" IconUrl="avatar.png" />
61+
</telerik:RadChat>
6262
````
6363

6464
````JavaScript

controls/chat/structure.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
2-
title: Overview
2+
title: Structure
33
page_title: Structure Overview | RadChat for ASP.NET AJAX Documentation
44
description: Structure Overview
55
slug: chat/structure
6-
tags: overview
6+
tags: structure
77
published: True
88
position: 2
99
---
1010

1111
# Structure Overview
1212

13-
>caption **Figure 1**: A chat structure.
14-
1513
![chat-structure](images/chat-structure.png)
1614

15+
>caption **Figure 1**: A chat structure.
16+
1717
The two main elements the **RadChat** control is built with are **Message List** and **Message Box**.
1818

1919
## The Message List can contain:
@@ -31,7 +31,7 @@ The two main elements the **RadChat** control is built with are **Message List**
3131
* **List** - displays multiple cards *vertically*. Might be referred as **Card List**;
3232

3333

34-
## The Message Box contains
34+
## The Message Box contains:
3535

3636
* **Message Input** - input where the user writes their message. When there is no message written, a placeholder message is visible.
3737
* **Send Button** - button that when clicked sends the message in the message input. When the focus is on the message input, pressing the `Enter` key is the same as clicking the send button.

0 commit comments

Comments
 (0)