TreeControl TreeControl TreeControl Class

Definition

Constructs a JSON representation of the data source and initializes an instance of the client tree control.

public ref class TreeControl sealed : System::Web::UI::WebControls::HierarchicalDataBoundControl, System::Web::UI::ICallbackEventHandler, System::Web::UI::IScriptControl
public sealed class TreeControl : System.Web.UI.WebControls.HierarchicalDataBoundControl, System.Web.UI.ICallbackEventHandler, System.Web.UI.IScriptControl
Public NotInheritable Class TreeControl
Inherits HierarchicalDataBoundControl
Implements ICallbackEventHandler, IScriptControl
Inheritance
Implements

Remarks

Requires a script manager. Takes the IHierarchicalDataSource interface.

Constructors

TreeControl() TreeControl() TreeControl()

Initializes a new instance of the TreeControl object.

Properties

DefaultMenuID DefaultMenuID DefaultMenuID

Gets the default context menu ID for the tree node.

NameField NameField NameField

Gets the name to be used as the display name for the specified node.

Nodes Nodes Nodes

Gets the root nodes of the tree.

ViewPath ViewPath ViewPath

Gets the start path in the data source hierarchy.

Methods

GetChildren(String) GetChildren(String) GetChildren(String)

Returns children of the node specified by the path parameter.

Explicit Interface Implementations

ICallbackEventHandler.GetCallbackResult() ICallbackEventHandler.GetCallbackResult() ICallbackEventHandler.GetCallbackResult()

Gets callback results.

ICallbackEventHandler.RaiseCallbackEvent(String) ICallbackEventHandler.RaiseCallbackEvent(String) ICallbackEventHandler.RaiseCallbackEvent(String)

Raises callback events.

IScriptControl.GetScriptDescriptors() IScriptControl.GetScriptDescriptors() IScriptControl.GetScriptDescriptors()

Renders automatically generated code.

IScriptControl.GetScriptReferences() IScriptControl.GetScriptReferences() IScriptControl.GetScriptReferences()

Renders automatically generated code.

Applies to