menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Pager - ASP.NETCore-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Pager

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    Pager
    Namespace: Syncfusion.EJ2.Grids
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class Pager : EJTagHelper

    Constructors

    Pager()

    Declaration
    public Pager()

    Properties

    Click

    Triggers when click on the numeric items.

    Declaration
    public object Click { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Created

    Triggers when Pager is created.

    Declaration
    public object Created { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    CssClass

    Defines the own class for the pager element.

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

    The default value is ""

    CurrentPage

    Defines the current page number of pager.

    Declaration
    public double CurrentPage { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 1

    CustomText

    Defines the customized text to append with numeric items.

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

    The default value is null

    DropDownChanged

    Triggers after pageSize is selected in DropDownList.

    Declaration
    public object DropDownChanged { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    EnableExternalMessage

    If enableExternalMessage set to true, then it adds the message to Pager.

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

    The default value is false

    EnablePagerMessage

    If enablePagerMessage set to true, then it adds the pager information.

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

    The default value is true

    EnablePersistence

    Enable or disable persisting component's state between page reloads.

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

    The default value is false

    EnableQueryString

    If enableQueryString set to true, then it pass current page information as a query string along with the URL while navigating to other page.

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

    The default value is false

    EnableRtl

    Enable or disable rendering component in right to left direction.

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

    The default value is false

    ExternalMessage

    Defines the external message of Pager.

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

    The default value is null

    HtmlAttributes

    Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.

    Declaration
    public object HtmlAttributes { get; set; }
    Property Value
    Type
    System.Object

    Locale

    Overrides the global culture and localization value for this component. Default global culture is 'en-US'.

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

    The default value is ""

    PageCount

    Defines the number of pages to display in pager container.

    Declaration
    public double PageCount { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 10

    PageSize

    Defines the records count of visible page.

    Declaration
    public double PageSize { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is 12

    PageSizes

    If pageSizes set to true or Array of values, It renders DropDownList in the pager which allow us to select pageSize from DropDownList.

    Declaration
    public object PageSizes { get; set; }
    Property Value
    Type Description
    System.Object

    The default value is null

    Template

    Defines the template as string or HTML element ID which renders customized elements in pager instead of default elements.

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

    The default value is null

    TotalRecordsCount

    Gets or Sets the total records count which is used to render numeric container.

    Declaration
    public double TotalRecordsCount { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is Double.NaN

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved