Dynamic Menu Items is not right aligned with Right to Left documen

Discussion in 'ASP .Net' started by =?Utf-8?B?QmlzaG95?=, Dec 28, 2006.

  1. Hi All,

    I have a Right to Left web page with asp.net 2.0 containing a horizontal menu.

    The menu is right to left as the page.

    The problem is the submenu items or the dynamic menu items are not aligned
    right, so the menu has a bad shape.

    -------------------------------------------------------------

    This is the source code of the page:



    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
    Inherits="Test_Default" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" >

    <head runat="server">

    <title>Untitled Page</title>

    </head>

    <body style="direction: rtl">

    <form id="form1" runat="server">

    <div>

    <asp:Menu ID="Menu1" runat="server" BackColor="White" Font-Size="XX-Large"
    Orientation="Horizontal">

    <StaticMenuItemStyle BackColor="#FFC0FF" />

    <DynamicMenuItemStyle BackColor="#FFC0FF" />

    <Items>

    <asp:MenuItem Text="ملÙ" Value="ملÙ">

    <asp:MenuItem Text="Ùتح" Value="Ùتح"></asp:MenuItem>

    <asp:MenuItem Text="Ù‚ÙÙ„" Value="Ù‚ÙÙ„"></asp:MenuItem>

    <asp:MenuItem Text="جديد" Value="جديد"></asp:MenuItem>

    </asp:MenuItem>

    <asp:MenuItem Text="تعديل" Value="تعديل">

    <asp:MenuItem Text="نسخ" Value="نسخ"></asp:MenuItem>

    <asp:MenuItem Text="قص" Value="قص"></asp:MenuItem>

    <asp:MenuItem Text="لصق" Value="لصق"></asp:MenuItem>

    </asp:MenuItem>

    <asp:MenuItem Text="ادراج" Value="ادراج">

    <asp:MenuItem Text="نص" Value="نص"></asp:MenuItem>

    <asp:MenuItem Text="ملÙ" Value="ملÙ"></asp:MenuItem>

    </asp:MenuItem>

    </Items>

    </asp:Menu>

    </div>

    </form>

    </body>

    </html>
     
    =?Utf-8?B?QmlzaG95?=, Dec 28, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DU
    Replies:
    8
    Views:
    657
    Toby A Inkster
    Oct 8, 2003
  2. mre
    Replies:
    2
    Views:
    457
  3. Larry Bud
    Replies:
    13
    Views:
    7,787
    Larry Bud
    Jan 7, 2008
  4. Replies:
    0
    Views:
    423
  5. topguy
    Replies:
    6
    Views:
    537
    topguy
    Nov 15, 2008
Loading...

Share This Page