Renders a menu list of top level items, useful for navigations that contain a top level menu displaying subtree's as clicked.

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

Syntax

C#
public class MenuList : PageTreeData, INamingContainer

Remarks

Use this control as a datasource to get child pages to currently selected subtree

Examples

Example usage of MenuList using a PageTree to display subtree's through data binding.
Copy 
<episerver:MenuList PageLink="<%#EPiServer.Core.PageReference.StartPage%>" runat="server" ID="MenuList1">
    <ItemTemplate>
        <episerver:property CssClass="NormalLink" PropertyName="PageLink" runat="server"/>
    </ItemTemplate>
</episerver:MenuList>

Inheritance Hierarchy

System..::.Object
  System.Web.UI..::.Control
    EPiServer.Web.WebControls..::.PageTreeData
      EPiServer.Web.WebControls..::.MenuList

See Also