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

Discussion in 'ASP .Net' started by Guest, Dec 28, 2006.

  1. Guest

    Guest Guest

    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"

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

    <head runat="server">

    <title>Untitled Page</title>


    <body style="direction: rtl">

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


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

    <StaticMenuItemStyle BackColor="#FFC0FF" />

    <DynamicMenuItemStyle BackColor="#FFC0FF" />


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

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

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

    <asp:MenuItem Text="جديد" Value="جديد"></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 Text="ادراج" Value="ادراج">

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

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







    Guest, Dec 28, 2006
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.