November Happy Hour will be moved to Thursday December 5th.

Class PageTreeView

Inheritance
System.Object
PageTreeView
Implements
System.Web.UI.ICallbackEventHandler
System.Web.UI.IPostBackEventHandler
System.Web.UI.IPostBackDataHandler
System.Web.UI.INamingContainer
Namespace: EPiServer.UI.WebControls
Assembly: EPiServer.UI.dll
Version: 11.20.7
Syntax
public class PageTreeView : HierarchicalDataBoundControl, ICallbackEventHandler, IPostBackEventHandler, IPostBackDataHandler, INamingContainer

Constructors

PageTreeView()

Declaration
public PageTreeView()

Properties

ClientInitializationCallback

Declaration
public string ClientInitializationCallback { get; set; }
Property Value
Type Description
System.String

ControlState

Declaration
protected IDictionary ControlState { get; }
Property Value
Type Description
System.Collections.IDictionary

DataAttributeFields

Declaration
public string DataAttributeFields { get; set; }
Property Value
Type Description
System.String

DataNavigateUrlField

Declaration
public string DataNavigateUrlField { get; set; }
Property Value
Type Description
System.String

DataTextField

Declaration
public string DataTextField { get; set; }
Property Value
Type Description
System.String

EnableDragAndDrop

Declaration
public bool EnableDragAndDrop { get; set; }
Property Value
Type Description
System.Boolean

EnableDropBetweenNodes

Declaration
public bool EnableDropBetweenNodes { get; set; }
Property Value
Type Description
System.Boolean

EnableMultiSelect

Declaration
public bool EnableMultiSelect { get; set; }
Property Value
Type Description
System.Boolean

ExpandDepth

Declaration
public int ExpandDepth { get; set; }
Property Value
Type Description
System.Int32

ExpandOnSelect

Declaration
public bool ExpandOnSelect { get; set; }
Property Value
Type Description
System.Boolean

ForgetNodesWhenMinimized

Declaration
public bool ForgetNodesWhenMinimized { get; set; }
Property Value
Type Description
System.Boolean

Nodes

Declaration
public PageTreeTreeNodeCollection Nodes { get; }
Property Value
Type Description
PageTreeTreeNodeCollection

RootNode

Declaration
public PageTreeNode RootNode { get; }
Property Value
Type Description
PageTreeNode

ScriptManager

Declaration
public ScriptManager ScriptManager { get; }
Property Value
Type Description
ScriptManager

SelectedNodeViewPath

Declaration
public string SelectedNodeViewPath { get; set; }
Property Value
Type Description
System.String

TreeNodeTemplate

Declaration
public ITemplate TreeNodeTemplate { get; set; }
Property Value
Type Description
System.Web.UI.ITemplate

Methods

CreateChildControls()

Declaration
protected override void CreateChildControls()

GetCallbackResult()

Declaration
public string GetCallbackResult()
Returns
Type Description
System.String

LoadControlState(Object)

Declaration
protected override void LoadControlState(object savedState)
Parameters
Type Name Description
System.Object savedState

LoadPostData(String, NameValueCollection)

Declaration
public bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters
Type Name Description
System.String postDataKey
System.Collections.Specialized.NameValueCollection postCollection
Returns
Type Description
System.Boolean

LoadViewState(Object)

Declaration
protected override void LoadViewState(object savedState)
Parameters
Type Name Description
System.Object savedState

OnInit(EventArgs)

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnPageTreeViewItemDataBound(PageTreeViewEventArgs)

Declaration
protected virtual void OnPageTreeViewItemDataBound(PageTreeViewEventArgs e)
Parameters
Type Name Description
PageTreeViewEventArgs e

OnPreRender(EventArgs)

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

PerformDataBinding()

Declaration
protected override void PerformDataBinding()

RaiseCallbackEvent(String)

Declaration
public void RaiseCallbackEvent(string eventArgument)
Parameters
Type Name Description
System.String eventArgument

RaisePostBackEvent(String)

Declaration
public void RaisePostBackEvent(string eventArgument)
Parameters
Type Name Description
System.String eventArgument

RaisePostDataChangedEvent()

Declaration
public void RaisePostDataChangedEvent()

RenderBeginTag(HtmlTextWriter)

Declaration
public override void RenderBeginTag(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

RenderContents(HtmlTextWriter)

Declaration
protected override void RenderContents(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

RenderEndTag(HtmlTextWriter)

Declaration
public override void RenderEndTag(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

SaveControlState()

Declaration
protected override object SaveControlState()
Returns
Type Description
System.Object

SaveViewState()

Declaration
protected override object SaveViewState()
Returns
Type Description
System.Object

TrackViewState()

Declaration
protected override void TrackViewState()

Events

PageTreeViewItemDataBound

Declaration
public event PageTreeViewEventHandler PageTreeViewItemDataBound
Event Type
Type Description
PageTreeViewEventHandler

Implements

System.Web.UI.ICallbackEventHandler
System.Web.UI.IPostBackEventHandler
System.Web.UI.IPostBackDataHandler
System.Web.UI.INamingContainer

Extension Methods