Class PageList
Control for rendering page list, extends PageListData with templates. Supports paging.
Inheritance
System.Object
PageList
Implements
System.Web.UI.INamingContainer
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.Web.WebControls.dll
Version: 8.11.0Syntax
public class PageList : PageListData, INamingContainer
Examples
Example usage of PageList rendering a simple list of links to pages
Constructors
PageList()
Declaration
public PageList()
Properties
FooterTemplate
Template for listing footer
Declaration
public ITemplate FooterTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Web.UI.ITemplate |
HeaderTemplate
Template for listing header
Declaration
public ITemplate HeaderTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Web.UI.ITemplate |
ItemTemplate
The default template for pages
Declaration
public ITemplate ItemTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Web.UI.ITemplate |
Methods
CreateChildControls()
Declaration
protected override void CreateChildControls()
Render(HtmlTextWriter)
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.HtmlTextWriter | writer |
Implements
System.Web.UI.INamingContainer