Skip to content

Commit 85f9286

Browse files
vveesseelliinnaapepinho24
authored andcommitted
docs(multiselect): Add RTL article
1 parent 2d8f3dc commit 85f9286

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

controls/multiselect/accessibility-and-internationalization/right-to-left-support.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,35 @@ tags: right-to-left,support
77
published: True
88
position: 0
99
---
10+
11+
12+
# Right-to-Left Support
13+
14+
The **RadMultiSelect** fully supports right-to-left (RTL) language locales (**Figure 1**). In order to turn on the RTL support you should set **dir=rtl** to the html or body element or at least to its parent element (**Figure 1**). You can also use the **direction:rtl** CSS property.
15+
16+
>caption Figure 1: RadMultiSelect in RTL mode.
17+
18+
![RadMultiSelect-rtl](../images/multiselect-rtl.png)
19+
20+
>caption Example 1: Set the "direction: rtl" style to the **RadMultiSelect**'s wrapper element in order to enable the RTL support for the control.
21+
22+
````ASP.NET
23+
<div dir="rtl" runat="server">
24+
<telerik:RadMultiSelect ID="RadMultiSelect1" runat="server" DataTextField="text" DataValueField="value" Filter="Contains" Width="400px"
25+
Placeholder="Select attendees...">
26+
<Items>
27+
<telerik:MultiSelectItem Text="Steven White" Value="1"></telerik:MultiSelectItem>
28+
<telerik:MultiSelectItem Text="Nancy King" Value="2"></telerik:MultiSelectItem>
29+
<telerik:MultiSelectItem Text="Nancy Davolio" Value="3"></telerik:MultiSelectItem>
30+
<telerik:MultiSelectItem Text="Robert Davolio" Value="4"></telerik:MultiSelectItem>
31+
<telerik:MultiSelectItem Text="Michael Leverling" Value="5"></telerik:MultiSelectItem>
32+
</Items>
33+
</telerik:RadMultiSelect>
34+
</div>
35+
````
36+
37+
## See Also
38+
39+
* [Live Demo: RadMultiSelect RTL Support](http://demos.telerik.com/aspnet-ajax/multiselect/rtl/defaultcs.aspx)
40+
41+
* [Keyboard Support]({%slug multiselect/accessibility-and-internationalization/keyboard-support%})

0 commit comments

Comments
 (0)