Expand all tree nodes.

Namespace:  EPiServer.Web.WebControls
Assembly:  EPiServer (in EPiServer.dll) Version: 6.0.530.0

Syntax

C#
[DefaultValueAttribute(false)]
[BrowsableAttribute(true)]
[BindableAttribute(true)]
public bool ExpandAll { get; set; }

Remarks

If ExpandAll is false, the branch where CurrentPage is located in is expanded. To find the right branch a search is being made from CurrentPage and up, towards the root page. Note, if a non-published page is encountered during the search and the current user is not allowed to access the page, the search fails and a login prompt is shown to the user.

If ExpandAll is true, all branches are expanded. The pages in the tree are crawled from top to bottom. If a non-published page is encountered in a branch and the current user is not allowed to access the page, that particular branch is not expanded any further.

See Also