Class CmsNumericPagerField
Extends standard NumericPagerField with a support for URL Rewritten pages.
Inheritance
Namespace: Mediachase.Commerce.Website.Controls
Assembly: Mediachase.Commerce.Website.dll
Version: 10.8.0Syntax
public class CmsNumericPagerField : NumericPagerField
Constructors
CmsNumericPagerField()
Initializes a new instance of the CmsNumericPagerField class.
Declaration
public CmsNumericPagerField()
Methods
CreateDataPagers(DataPagerFieldItem, Int32, Int32, Int32, Int32)
Creates the user interface (UI) controls for the 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()
Creates and returns a new instance of the System.Web.UI.WebControls.NumericPagerField class.
Declaration
protected override DataPagerField CreateField()
Returns
Type | Description |
---|---|
System.Web.UI.WebControls.DataPagerField | A new instance of the System.Web.UI.WebControls.NumericPagerField class. |
Equals(Object)
Determines whether the specified object is equal to the current System.Web.UI.WebControls.NumericPagerField object.
Declaration
public override bool Equals(object o)
Parameters
Type | Name | Description |
---|---|---|
System.Object | o | The object to compare with the current System.Web.UI.WebControls.NumericPagerField instance. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified object is equal to the current System.Web.UI.WebControls.NumericPagerField object; otherwise, false. |
GetHashCode()
Serves as a hash function for the System.Web.UI.WebControls.NumericPagerField class.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current System.Web.UI.WebControls.NumericPagerField object. For more information, see the System.Object.GetHashCode() class. |
HandleEvent(CommandEventArgs)
Handles events that occur in the System.Web.UI.WebControls.NumericPagerField object and performs the appropriate action.
Declaration
public override void HandleEvent(CommandEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.WebControls.CommandEventArgs | e | The event data. |