This is a migrated thread and some comments may be shown as answers.

Right to left treeview problem

2 Answers 63 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
eugen100
Top achievements
Rank 1
eugen100 asked on 25 Aug 2009, 09:18 AM

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 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 26 Aug 2009, 07:02 AM
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.
0
eugen100
Top achievements
Rank 1
answered on 26 Aug 2009, 07:59 AM
Thank you, it really works
Tags
TreeView
Asked by
eugen100
Top achievements
Rank 1
Answers by
Yana
Telerik team
eugen100
Top achievements
Rank 1
Share this question
or