Represents the Pager UI element.
Inheritance
System.Object
Pager
Implements
System.Web.UI.INamingContainer
System.Web.UI.IPostBackEventHandler
System.Web.UI.IPostBackDataHandler
System.Web.UI.IUrlResolutionService
Assembly: Syncfusion.EJ.Web.dll
public class Pager : CommonControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService
Constructors
Declaration
Properties
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Gets or sets the CSS class of the pager.
Declaration
public string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the current page of the pager.
Declaration
public int CurrentPage { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Gets or sets the Custom text property of the pager.
Declaration
public string CustomText { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets a value indicating whether pager is enabled or not.
Declaration
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
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 |
|
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 |
|
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 |
|
Gets or sets the External Message property of the pager.
Declaration
public string ExternalMessage { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets a value indicating whether pager is Responsive or not.
Declaration
public bool IsResponsive { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets the Locale property of the pager.
Declaration
public string Locale { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets the Pager model object of the Pager properties.
Declaration
public PagerProperties Model { get; set; }
Property Value
Gets or sets the Page count of the pager.
Declaration
public int PageCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Gets or sets the page size of the pager.
Declaration
public int PageSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
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> |
|
Gets or sets the Pagesize Message property of the pager.
Declaration
public string PageSizeMessage { get; set; }
Property Value
Type |
Description |
System.String |
|
Gets or sets a value indicating whether pager to show goto tetbox.
Declaration
public bool ShowGoToPage { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
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 |
|
Gets or sets the total pages of the pager.
Declaration
public int? TotalPages { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
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
Specifies the dependent scripts.
Declaration
public List<string> DependentScripts()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
Specifies the the dependent files.
Declaration
public override List<string> GetDependentFiles()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
Overrides
Declaration
protected override void LoadViewState(object state)
Parameters
Type |
Name |
Description |
System.Object |
state |
|
Overrides
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
Renders the pager instance.
Declaration
Returns
Type |
Description |
System.String |
|
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type |
Name |
Description |
System.Web.UI.HtmlTextWriter |
writer |
|
Overrides
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
Events
Represents the Pager change event handler.
Declaration
public event Pager.PagerChangeEventHandler Change
Event Type
Implements
System.Web.UI.INamingContainer
System.Web.UI.IPostBackEventHandler
System.Web.UI.IPostBackDataHandler
System.Web.UI.IUrlResolutionService