Kendo.Mvc.UI.Fluent.PagerBuilder

Defines the fluent API for configuring the Kendo Pager for ASP.NET MVC.

Methods

AutoBind(System.Boolean)

Indicates whether the pager refresh method will be called within its initialization.

Parameters

value System.Boolean

The value that configures the autobind.

ButtonCount(System.Double)

Defines the number of buttons displayed in the numeric pager.

Parameters

value System.Double

The value that configures the buttoncount.

SelectTemplate(System.String)

The template for selected page number link.

Parameters

value System.String

The value that configures the selecttemplate.

SelectTemplateId(System.String)

The template for selected page number link.

Parameters

value System.String

The value that configures the selecttemplate.

LinkTemplate(System.String)

The template for page number links.

Parameters

value System.String

The value that configures the linktemplate.

LinkTemplateId(System.String)

The template for page number links.

Parameters

value System.String

The value that configures the linktemplate.

Info(System.Boolean)

Defines if a label showing current paging information will be displayed.

Parameters

value System.Boolean

The value that configures the info.

Input(System.Boolean)

Defines if an input element which allows the user to navigate to given page will be displayed.

Parameters

value System.Boolean

The value that configures the input.

Numeric(System.Boolean)

Defines if numeric portion of the pager will be shown.

Parameters

value System.Boolean

The value that configures the numeric.

PreviousNext(System.Boolean)

Defines if buttons for navigating to the first, last, previous and next pages will be shown.

Parameters

value System.Boolean

The value that configures the previousnext.

Refresh(System.Boolean)

Defines if a refresh button will be displayed. Click on that button will call DataSource read() method to get actual data.

Parameters

value System.Boolean

The value that configures the refresh.

Responsive(System.Boolean)

Defines if the pager will be responsive.

Parameters

value System.Boolean

The value that configures the responsive.

Messages(System.Action<Kendo.Mvc.UI.Fluent.PagerMessagesSettingsBuilder>)

Defines texts shown within the pager. Use this option to customize or localize the pager messages.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.PagerMessagesSettingsBuilder>

The action that configures the messages.

PageSizes(System.Boolean)

If set to true the pager will display a drop-down which allows the user to pick a page size. By default the page size drop-down is not displayed.Can be set to an array of predefined page sizes to override the default list. A special all value is supported. It sets the page size to the total number of records.If a pageSize setting is provided for the data source then this value will be selected initially.

Parameters

value System.Boolean

The value that configures the pagesizes.

PageSizes

If set to true the pager will display a drop-down which allows the user to pick a page size. By default the page size drop-down is not displayed.Can be set to an array of predefined page sizes to override the default list. A special all value is supported. It sets the page size to the total number of records.If a pageSize setting is provided for the data source then this value will be selected initially.

Parameters

value ``

The value that configures the pagesizes.

PageSizes(System.Collections.IEnumerable)

If set to true the pager will display a drop-down which allows the user to pick a page size. By default the page size drop-down is not displayed.Can be set to an array of predefined page sizes to override the default list. A special all value is supported. It sets the page size to the total number of records.If a pageSize setting is provided for the data source then this value will be selected initially.

Parameters

value System.Collections.IEnumerable

The value that configures the pagesizes.

Events(System.Action<Kendo.Mvc.UI.Fluent.PagerEventBuilder>)

Configures the client-side events.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.PagerEventBuilder>

The client events action.

Example (ASPX)

<%= Html.Kendo().Pager()
    .Name("Pager")
    .Events(events => events
        .Change("onChange")
    )
%>
In this article
Not finding the help you need?