C# Class EPiUtilities.WebControls.PageDataList

Inheritance: EPiUtilities.WebControls.BaseClasses.TemplatedPageDataItemListControlBase
Show file Open project: JohannesOstensjo/EPiUtilities

Public Properties

Property Type Description
MaxCount int
SortBy string
SortDirection FilterSortDirection

Protected Properties

Property Type Description
TotalItemCount int

Private Properties

Property Type Description

Protected Methods

Method Description
AddFooterPager ( int itemCount ) : void

An empty method which can be overridden by descendants which implements paging.

AddHeaderPager ( int itemCount ) : void

An empty method which can be overridden by descendants which implements paging.

ApplyPagingFilter ( PageDataCollection items ) : void

An empty method which can be overridden by descendants which implements paging.

GetItems ( ) : PageDataCollection

Gets the items to display in the control, applying sorting and filtering as required.

OnPreRender ( EventArgs e ) : void

Override which creates and adds the content of the control.

Method Details

AddFooterPager() protected method

An empty method which can be overridden by descendants which implements paging.
protected AddFooterPager ( int itemCount ) : void
itemCount int
return void

AddHeaderPager() protected method

An empty method which can be overridden by descendants which implements paging.
protected AddHeaderPager ( int itemCount ) : void
itemCount int
return void

ApplyPagingFilter() protected method

An empty method which can be overridden by descendants which implements paging.
protected ApplyPagingFilter ( PageDataCollection items ) : void
items PageDataCollection
return void

GetItems() protected method

Gets the items to display in the control, applying sorting and filtering as required.
protected GetItems ( ) : PageDataCollection
return PageDataCollection

OnPreRender() protected method

Override which creates and adds the content of the control.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs
return void

Property Details

MaxCount public property

Limits the total number of items in the list. Is applied after sorting. A value larger than zero is considered a value, zero or less has no effect.
public int MaxCount
return int

SortBy public property

Sort by a property instead of setting SortOrder. Used together with SortDirection.
public string SortBy
return string

SortDirection public property

The sortdirection when using SortBy.
public FilterSortDirection SortDirection
return FilterSortDirection

TotalItemCount protected property

Holds the total number of items before any paging.
protected int TotalItemCount
return int