Right to left treeview problem

3 posts, 0 answers
  1. eugen100
    eugen100 avatar
    34 posts
    Member since:
    Mar 2007

    Posted 25 Aug 2009 Link to this post

    I have a problem with a RadTreeView when I use dir="rtl". I 'd like to attach a very simple project to show you what is a problem but I don't see here this option. (Also I don' see how change colors in this editor).  So I'll try to describe a problem.

    I have the following page:

     

    <%

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

     

    <%

    @ Register Assembly="Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

     

     

     

     

     

    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></title>

     

    </

    head>

     

    <

    body>

     

     

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

     

     

    <asp:ScriptManager ID="ScriptManager1" runat="server">

     

     

    </asp:ScriptManager>

     

     

    <div>

     

     

     

    <telerik:RadTreeView ID="RadTreeView1" runat="server" dir="rtl"

     

     

    DataSourceID="XmlDataSource1">

     

     

    <DataBindings>

     

     

    <telerik:RadTreeNodeBinding DataMember="MenuItem" TextField="Text"

     

     

    ValueField="Node_Id" />

     

     

    </DataBindings>

     

     

    </telerik:RadTreeView>

     

     

     

    <asp:XmlDataSource runat="server" ID="XmlDataSource1" DataFile="tree.xml" />

     

     

    </div>

     

     

    </form>

     

    </

    body>

     

    </

    html>
    -------------------------------------------End of the page default.aspx------------------------------------

     

    where file tree.xml is:

    -------------------------------------file tree.xml---------------------------------------

     

    <

    root>

     

    <

    MenuItem Node_Id="1" Text="Level 1">

     

    <

    MenuItem Node_Id="2" Text="Level 2" >

     

     

    </

    MenuItem>

     

    </

    MenuItem>

     

    </

    root>

     

     

    -------------------------------------end of file tree.xml--------------------------------------- 

    When I run the page I look firstly collapsed tree in the right side of the screen. But when mouse is found over "plus" of the tree this plus disappears so I can' t open the tree. If I cancel option dir="rtl" then I see the tree in the left side of he screen and I can open it and see sublevels.
    Is this a bug or I missed something? Thank you
    Evgeny

     

  2. Yana
    Admin
    Yana avatar
    4982 posts

    Posted 26 Aug 2009 Link to this post

    Hi Evgeny,

    Please set Width property of the treeview in order to fix this issue.

    All the best,
    Yana
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. eugen100
    eugen100 avatar
    34 posts
    Member since:
    Mar 2007

    Posted 26 Aug 2009 Link to this post

    Thank you, it really works
Back to Top