RadTreeView for ASP.NET

Templates in my Telerik RadTreeView are not correctly positioned - they appear on the next line Send comments on this topic.
TroubleShooting > Templates in my Telerik RadTreeView are not correctly positioned - they appear on the next line

Glossary Item Box

The source of the problem is hiding in the "Block" Html elements ( <table> , <div>, etc) that are automatically placed on a new line and thus potentially breaking the desired design and position of the template in the treeview hierarchy.

If you need to use block elements for your <NodeTemplate>, make sure you add the css display:inline style to the root tag.

Example:

ASPX Copy Code
...
<NodeTemplate>
   
<table style="display:inline">
       
<tr>
           
<td> ... </td>
           
<td> ... </td>
           
<td> ... </td>
       
</tr>
   
</table>
<
NodeTemplate>
...

...
<NodeTemplate>
   
<div style="display:inline">
       
...
    
</div>
<
NodeTemplate>
...