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

Class PageList

Control for rendering page list, extends PageListData with templates. Supports paging.

Inheritance
System.Object
PageList
Implements
System.ComponentModel.INotifyPropertyChanged
System.Collections.IEnumerable
System.Web.UI.INamingContainer
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.Web.WebControls.dll
Version: 10.10.4
Syntax
public class PageList : PageListData, INotifyPropertyChanged, IPageControl, IEnumerable, IPageSource, INamingContainer
Examples
  Example usage of PageList rendering a simple list of links to pages
    <episerver:PageList pagelink="<%#CurrentPage.PageLink%>" runat="server" id="PageList1">
<ItemTemplate>
<episerver:property PropertyName="PageLink" runat="server"/>
<br/>
</ItemTemplate>
</episerver:PageList>

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.ComponentModel.INotifyPropertyChanged
System.Collections.IEnumerable
System.Web.UI.INamingContainer

Extension Methods

See Also