Treeview right to left display?

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
 
G

Guest

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
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top