Change Theme Settings
Change Theme Settings
Show All Themes


The ASPxTreeView control supports the template technology, allowing you to completely customize the control's appearance and layout.

The look of the ASPxTreeView control's default elements can be completely modified by creating a specific template which defines how an element will be rendered by a client browser. The ASPxTreeView control allows you to create templates for two element types: the node text content and the entire node content. You can apply templates for all identical elements within the ASPxTreeView (using control level templates) or for a particular element (using node level templates). Each template can consist of a group of HTML controls. Each HTML control used in a template can be bound to the property values of the rendered node.

In this demo, the TextTemplate property of the parent nodes (the 'ASP.NET AJAX Controls' and 'WinForms Controls') is used to replace node texts with a custom combination of an image and text elements. The contents of child nodes are completely defined using their Template property. These templates contain an image and two text elements representing textual node characteristics (Text and Name property values) in two lines.