Telerik RadMenu takes into account the direction attribute set to the control, or to any parent HTML element. If you set the direction of the body tag (or any other tag that contains Telerik RadMenu) to rtl, Telerik RadMenu reverses the order of its items, and aligns itself to the right side of the container.
Example
The menu below is with dir="rtl".
| |
Copy Code |
|
<rad:RadMenu id="RadMenu1" runat="server" Skin="Telerik" dir="rtl"> <Items> <rad:RadMenuItem Text="First Item"></rad:RadMenuItem> <rad:RadMenuItem Text="Second Item"></rad:RadMenuItem> <rad:RadMenuItem Text="Third Item"></rad:RadMenuItem> <rad:RadMenuItem Text="Fourth Item"></rad:RadMenuItem> <rad:RadMenuItem Text="Fifth Item"></rad:RadMenuItem> <rad:RadMenuItem Text="Sixth Item"></rad:RadMenuItem> </Items> </rad:RadMenu> |
See Also