Class CmsPagerField

Inheritance
System.Object
CmsPagerField
Namespace: Mediachase.Commerce.Website.Controls
Assembly: Mediachase.Commerce.Website.dll
Version: 10.8.0
Syntax
public class CmsPagerField : DataPagerField

Constructors

CmsPagerField()

Initializes a new instance of the CmsPagerField class.

Declaration
public CmsPagerField()

Properties

ButtonCssClass

Gets or sets the button CSS class.

Declaration
public string ButtonCssClass { get; set; }
Property Value
Type Description
System.String

The button CSS class.

NextPageImageUrl

Gets or sets the next page image URL.

Declaration
public string NextPageImageUrl { get; set; }
Property Value
Type Description
System.String

The next page image URL.

NextPageText

Gets or sets the next page text.

Declaration
public string NextPageText { get; set; }
Property Value
Type Description
System.String

The next page text.

PreviousPageImageUrl

Gets or sets the previous page image URL.

Declaration
public string PreviousPageImageUrl { get; set; }
Property Value
Type Description
System.String

The previous page image URL.

PreviousPageText

Gets or sets the previous page text.

Declaration
public string PreviousPageText { get; set; }
Property Value
Type Description
System.String

The previous page text.

RenderNonBreakingSpacesBetweenControls

Gets or sets a value indicating whether [render non breaking spaces between controls].

Declaration
public bool RenderNonBreakingSpacesBetweenControls { get; set; }
Property Value
Type Description
System.Boolean

true if [render non breaking spaces between controls]; otherwise, false.

Methods

CreateDataPagers(DataPagerFieldItem, Int32, Int32, Int32, Int32)

When overridden in a derived class, creates the user interface (UI) controls for the data pager field object and adds them to the specified container.

Declaration
public override void CreateDataPagers(DataPagerFieldItem container, int startRowIndex, int maximumRows, int totalRowCount, int fieldIndex)
Parameters
Type Name Description
System.Web.UI.WebControls.DataPagerFieldItem container

The container that is used to store the controls.

System.Int32 startRowIndex

The index of the first record on the page.

System.Int32 maximumRows

The maximum number of items on a single page.

System.Int32 totalRowCount

The total number of items.

System.Int32 fieldIndex

The index of the data pager field in the System.Web.UI.WebControls.DataPager.Fields collection.

CreateField()

When overridden in a derived class, creates an empty object that is derived System.Web.UI.WebControls.DataPagerField.

Declaration
protected override DataPagerField CreateField()
Returns
Type Description
System.Web.UI.WebControls.DataPagerField

An empty object that is derived from System.Web.UI.WebControls.DataPagerField.

HandleEvent(CommandEventArgs)

When overridden in a derived class, handles events that occur in the data pager field object.

Declaration
public override void HandleEvent(CommandEventArgs e)
Parameters
Type Name Description
System.Web.UI.WebControls.CommandEventArgs e

The event data.