menu

ASP.NET Web Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Pager

    Show / Hide Table of Contents

    Class Pager

    Represents the Pager UI element.

    Inheritance
    System.Object
    CommonControl
    Pager
    Implements
    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Inherited Members
    CommonControl.RaisePostBackEvent(String)
    CommonControl.OnInit(EventArgs)
    CommonControl.OnLoad(EventArgs)
    Namespace: Syncfusion.JavaScript.Web
    Assembly: Syncfusion.EJ.Web.dll
    Syntax
    public class Pager : CommonControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService

    Constructors

    Pager()

    Declaration
    public Pager()

    Properties

    ClientSideOnChange

    Gets or sets a value indicating this event gets fired when Pager current page value is changed.

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

    ClientSideOnClick

    Gets or sets a value indicating this event gets fired when Pager is clicked.

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

    ClientSideOnCreate

    Gets or sets a value indicating this event gets fired when Pager is created.

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

    ClientSideOnDestroy

    Gets or sets a value indicating this event gets fired when Pager is dstroyed.

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

    ClientSideOnPageSizeSelected

    Gets or sets a value indicating this event gets fired when Pager pagesize value is changed in dropdown.

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

    CssClass

    Gets or sets the CSS class of the pager.

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

    CurrentPage

    Gets or sets the current page of the pager.

    Declaration
    public int CurrentPage { get; set; }
    Property Value
    Type Description
    System.Int32

    CustomText

    Gets or sets the Custom text property of the pager.

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

    Enabled

    Gets or sets a value indicating whether pager is enabled or not.

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

    EnableExternalMessage

    Gets or sets a value indicating whether pager external message is enabled or not.

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

    EnableQueryString

    Gets or sets a value indicating whether pager querystring is enabled or not.

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

    EnableRTL

    Gets or sets a value indicating whether pager RTL mode is enabled or not.

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

    ExternalMessage

    Gets or sets the External Message property of the pager.

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

    IsResponsive

    Gets or sets a value indicating whether pager is Responsive or not.

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

    Locale

    Gets or sets the Locale property of the pager.

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

    Model

    Gets or sets the Pager model object of the Pager properties.

    Declaration
    public PagerProperties Model { get; set; }
    Property Value
    Type Description
    PagerProperties

    PageCount

    Gets or sets the Page count of the pager.

    Declaration
    public int PageCount { get; set; }
    Property Value
    Type Description
    System.Int32

    PageSize

    Gets or sets the page size of the pager.

    Declaration
    public int PageSize { get; set; }
    Property Value
    Type Description
    System.Int32

    PageSizeList

    Gets or sets the page size list of the pager. Here, pager renders with a drop-down which list the number of page sizes available, when a value from drop-down is selected then the page size value of pager will get updated accordingly..

    Declaration
    public List<int> PageSizeList { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.Int32>

    PageSizeMessage

    Gets or sets the Pagesize Message property of the pager.

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

    ShowGoToPage

    Gets or sets a value indicating whether pager to show goto tetbox.

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

    ShowPageInfo

    Gets or sets a value indicating whether pager pageinfo to display or not.

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

    TotalPages

    Gets or sets the total pages of the pager.

    Declaration
    public int? TotalPages { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    TotalRecordsCount

    Gets or sets the total records count of the pager.

    Declaration
    public int? TotalRecordsCount { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Methods

    DependentScripts()

    Specifies the dependent scripts.

    Declaration
    public List<string> DependentScripts()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    GetDependentFiles()

    Specifies the the dependent files.

    Declaration
    public override List<string> GetDependentFiles()
    Returns
    Type Description
    System.Collections.Generic.List<System.String>
    Overrides
    CommonControl.GetDependentFiles()

    LoadViewState(Object)

    Declaration
    protected override void LoadViewState(object state)
    Parameters
    Type Name Description
    System.Object state
    Overrides
    CommonControl.LoadViewState(Object)

    OnPreRender(EventArgs)

    Declaration
    protected override void OnPreRender(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    PostBackEventHandler(String, Dictionary<String, Object>)

    Specifies the handler for server side events.

    Declaration
    public override void PostBackEventHandler(string EventName, Dictionary<string, object> args)
    Parameters
    Type Name Description
    System.String EventName
    System.Collections.Generic.Dictionary<System.String, System.Object> args
    Overrides
    CommonControl.PostBackEventHandler(String, Dictionary<String, Object>)

    Render()

    Renders the pager instance.

    Declaration
    public string Render()
    Returns
    Type Description
    System.String

    Render(HtmlTextWriter)

    Declaration
    protected override void Render(HtmlTextWriter writer)
    Parameters
    Type Name Description
    System.Web.UI.HtmlTextWriter writer
    Overrides
    CommonControl.Render(HtmlTextWriter)

    UpdateServerModel(Dictionary<String, Object>)

    Updates the server model with client model.

    Declaration
    public override void UpdateServerModel(Dictionary<string, object> ClientModel)
    Parameters
    Type Name Description
    System.Collections.Generic.Dictionary<System.String, System.Object> ClientModel
    Overrides
    CommonControl.UpdateServerModel(Dictionary<String, Object>)

    Events

    Change

    Represents the Pager change event handler.

    Declaration
    public event Pager.PagerChangeEventHandler Change
    Event Type
    Type Description
    Pager.PagerChangeEventHandler

    Implements

    System.Web.UI.INamingContainer
    System.Web.UI.IPostBackEventHandler
    System.Web.UI.IPostBackDataHandler
    System.Web.UI.IUrlResolutionService
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved