Treeview right to left display?

  • Thread starter Thread starter Stuart
  • Start date Start date
S

Stuart

Hi,

For design reasons I need treeview control to display right-to-left, i.e,
with its parent nodes to the right and the child nodes indented to the left,
however I cannot find a suitable property to change.

Is this possible please, and if so, how?

TIA
 
Hi,
You can put the treeview control inside a div element and set the div dir
attribute to be righ to left as follows

<div dir="rtl">
<asp:TreeView runat="server" id="tree">
</asp:TreeView>
</div>

Regards,
Mohamed Mosalem
 
Back
Top