Right-To-Left problem (Hebrew)

3 posts, 1 answers
  1. Moshe
    Moshe avatar
    2 posts
    Member since:
    Nov 2008

    Posted 01 Dec 2008 Link to this post


    I have XML file with dir=RTL and contains Hebrew characters
    <?xml version="1.0" encoding="utf-8" ?> 
    <Menu dir="rtl">  
        <Item Text="קובץ" Key="ק">  
            <Item Text="חדש" LeftLogo="Images\new.gif"/>  
            <Item Text="פתיחה" LeftLogo="Images\open.gif" > 
              <Group Width="140" Flow="Vertical">  
                <Item Text="פרוייקט 1" /> 
                <Item Text="פרוייקט 2" /> 
                <Item Text="פרוייקט 3" /> 
                <Item Text="פרוייקט 4" /> 
        <Item Text="עריכה" AccessKey="ע" > 
          <Group Flow="Vertical">  
            <Item Text="בטל" /> 
            <Item Text="בצע שוב" Enabled="False" /> 
            <Item Text="גזור" LeftLogo="Images\cut.gif" /> 
            <Item Text="העתק" LeftLogo="Images\copy.gif" /> 
            <Item Text="הדבק" /> 
        <Item Text="תצוגה" AccessKey="ת" > 
          <Group Flow="Vertical">  
            <Item Text="דוגמה 1" />          
        <Item Text="עזרה" Key="ז" > 
          <Group Flow="Vertical" OffsetX="-26">  
            <Item Text="אינדקס" LeftLogo="Images\help.gif" /> 
            <Item Text="חיפוש" Href="http://www.google.com"/>          
            <Item Text="פתיחת דך הבית" Href="http://www.telerik.com"/>  

    The .cs file:
    using System;  
    using System.Web;  
    using System.Web.UI;  
    using System.Web.UI.WebControls;  
    using Telerik.Web.UI;  
    public partial class _Default : System.Web.UI.Page   
        protected void Page_Load(object sender, EventArgs e)  

    The .aspx file:
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
    <!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> 
        <form id="form1" runat="server">  
            <h1 style="text-align: center">  
                Menu Example</h1> 
            <asp:ScriptManager ID="ScriptManager1" runat="server">  
            <telerik:RadMenu ID="RadMenu1" runat="server" width="80%" style="left: 2px">  
               <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 

    The problem: When I click on each RootMenuItem - The menu display incorrect. (The selected RootMenuItem "jump" to left with its GroupItems. The other RootMenuItem remain on the right side).

    • The problem isn't exist if I use the same XML file with English characters.
    • I created new RadMenu and used the RadMenu Builder (Instead XML file) - The same problem.

    Any suggestions will be welcome...



  2. Answer
    T. Tsonev
    T. Tsonev avatar
    2834 posts

    Posted 04 Dec 2008 Link to this post

    Hi Moshe,

    Thank you for reporting this issue. It turned out to be a skin issue that is relatively easy to fix. Just add this style tag to the head of your page:

    <style type="text/css"
        .RadMenu_Default_rtl a.rmExpanded 
            position: static; 

    We will also include the fix in the next Service Pack release. Your Telerik points have been updated for your involvement.

    Tsvetomir Tsonev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Moshe
    Moshe avatar
    2 posts
    Member since:
    Nov 2008

    Posted 04 Dec 2008 Link to this post

    It was very helpful, Thanks !

    Should I search more Hebrew issues with other controls ?   :-)

    Thanks Again,
Back to Top