RadTreeView for ASP.NET

Most Important RadTreeView Properties Send comments on this topic.
See Also

Glossary Item Box

Telerik RadTreeView properties can be easily set at design time. In Microsoft Visual Studio .NET select the instance of the Telerik RadTreeView and press F4. Then you can easily manage the properties using the grid.

 

Property

Description

AllowNodeEditing

Allow client-side node editing (pressing F2 on a selected node or clicking an already selected node).

AutoPostBack

When set to true all treenodes automatically generate a server event (postback).

BeforeClientClick

The name of the JavaScript function that will be called upon clicking on a treenode. The function must accept a single parameter which is the instance of the node clicked.
For example if you define

Copy Code
OnClientClick="ProcessClientClick"

You must define a JavaScript function defined as in the example on the right.

More info

CausesValidation

Triggers both client and server side validation before posting back and firing user event-handlers. More Info

CheckBoxes

When set to true displays a checkbox next to each treenode. More info

ContentFile

The full location (path + filename) of the XML content file used to populate the treeview. More on XML Content file

ContextMenuContentFile

The full location (path + filename) of the XML content file used to populate the context menus. More on Context Menus

DragAndDrop

When set to true enables drag-and-drop functionality. More on DnD.

ExpandDelay

The transition delay when a treenode is toggled. Default value is 2, set to 0 to disable. The greater the
value the slower the animation effect.

ImagesBaseDir

The directory with custom node image files (referred with Image and ImageExpanded attributes) used in the treeview reside (path relative to the application root)

LicenseFile

Specifies the relative path to the XML file that contains valid company name(s) and license key(s). Use "~/" (tilde) as a substitution of the web-application root directory. More info

MultipleSelect

When set to true the treeview allows multiple node selection (by holding down Ctrl key while selecting nodes).

RadControlsDir

Specifies the location of the /RadControls folder. Default value is "~/RadControls" ( "~" representing the root of your web-app). More info

RetainScrollPosition

Instructs the treeview to auto-scroll to the selected node after postback

SelectedNode

Gets the currently selected node.

Skin

The Skin applied to Telerik RadTreeView



 

 

See Also