Reputation: 186
I have asp:menu and I want it to expand to left always.
This is the menu code
<asp:Menu ID="MultiLevelMenu" DataSourceID="SiteMapDataSource1" runat="server" StaticEnableDefaultPopOutImage="False" MaximumDynamicDisplayLevels="100" orientation="Vertical" CssClass="MLMmenuV">
<StaticMenuItemStyle CssClass="MLMmvC" />
<StaticHoverStyle CssClass="MLMmvoC" />
<DynamicMenuStyle CssClass="MLMmenuVsub" />
<DynamicMenuItemStyle CssClass="MLMsubmvC" />
<DynamicHoverStyle CssClass="MLMsubmvoC" />
</asp:Menu>
Upvotes: 0
Views: 84
Reputation: 186
The way to do that is to put the whole list inside a div and set the "dir" property to "rtl" as following:
<div dir="rtl">
//menu's code here
</div>
Upvotes: 1