ASP.NET ComboBox - TreeView with Full Path

Products

Data

Grid

Scheduler

Form

ComboBox

TextBox

Menus

TreeView

EasyMenu

The items of the ComboBox can be customized using templates. You can embed any content inside an item template,
including HTML markup and ASP.NET server controls (any control from the Obout suite may be added to a template).

In order to set up an item template, use the ItemTemplate property of the ComboBox.
To extract data from the data item, use the Eval method which expects as a parameter
the name of the data field from which to load the data.

This example showcases the use of the Obout TreeView control inside the ComboBox.
The end user is able to select a product from the tree from the tree and the full path (from the root node down to the selected node) will be shown in the input field of the ComboBox.

The ob_OnNodeSelect client-side event of the TreeView is used to detect
when a node from the tree is selected. Inside the event handler for this event, some of the
client-side methods of the ComboBox (setText, setValue, close) are used to set its text / value
and to close the drop down menu.