- Url route paging
- Ajax paging
- Ajax search paging
- Appearance
- Paging data
- Javascrip API
- AjaxPager class
- AjaxHelper.Pager method
- HtmlPager class
- HtmlHelper.Pager method
- IPagedList interface
- IPagedList<T> interface
- MvcAjaxOptions class
- MvcAjaxOptionsBuilder class
- PagedList<T> class
- PageLinqExtensions class
- PagerItemsPosition enum
-
PagerOptions class
- ActionName property
- AlwaysShowFirstLastPageNumber property
- AutoHide property
- ContainerTagName property
- ControllerName property
- CssClass property
- CurrentPageNumberFormatString property
- CurrentPagerItemTemplate property
- DisabledPagerItemTemplate property
- FirstPageRouteName property
- FirstPageText property
- GoToButtonId property
- HidePagerItems property
- HorizontalAlign property
- HtmlAttributes property
- Id property
- InvalidPageIndexErrorMessage property
- LastPageText property
- MaximumPageIndexItems property
- MaximumPageNumber property
- MorePagerItemTemplate property
- MorePageText property
- NavigationPagerItemsPosition property
- NavigationPagerItemTemplate property
- NextPageText property
- NumericPagerItemCount property
- NumericPagerItemTemplate property
- OnPageIndexError property
- PageIndexBoxId property
- PageIndexOutOfRangeErrorMessage property
- PageIndexParameterName property
- PageNumberFormatString property
- PagerItemsSeparator property
- PagerItemTemplate property
- PrevPageText property
- RouteName property
- RouteValues property
- ShowDisabledPagerItems property
- ShowFirstLast property
- ShowMorePagerItems property
- ShowNumericPagerItems property
- ShowPrevNext property
- PagerOptionsBuilder class
- ScriptResourceExtensions class
- Javascript API
- AjaxPager.cs
- AjaxPagerTest.cs
- DataLoaderBuilder.cs
- DisplayNameExtensions.cs
- HtmlPager.cs
- HtmlPagerTest.cs
- IPagedList.cs
- MvcAjaxOptions.cs
- MvcAjaxOptionsBuilder.cs
- MvcPager.js
- PagedList.cs
- PagedListTest.cs
- PageLinqExtensions.cs
- PagerBuilder.cs
- PagerExtensions.cs
- PagerItem.cs
- PagerItemsPosition.cs
- PagerOptions.cs
- PagerOptionsBuilder.cs
- ScriptResourceExtensions.cs
- TestHelper.cs
PagerOptions class
Represents option settings for MvcPager.
Public properties:
Name | Description |
---|---|
ActionName | Gets or sets the name of the action method. |
AlwaysShowFirstLastPageNumber | Gets or sets a value indicating whether the first and the last numeric pager items should be displayed. |
AutoHide | Gets or sets a value indicating whether MvcPager should be hidden if there's only one page of data. |
ContainerTagName | Gets or sets the HTML tag name for the container element of the pager. |
ControllerName | Gets or sets the name of the controller class. |
CssClass | Gets or sets the css class to be applied to container element of the pager. |
CurrentPageNumberFormatString | Gets or sets the format string for the current page number. |
CurrentPagerItemTemplate | Gets or sets the html template to be applied to the current page pager item. |
DisabledPagerItemTemplate | Gets or sets the html template to be applied to the disabled pager items. |
FirstPageRouteName | Gets or sets the route name for the generation of the first page url. |
FirstPageText | Gets or sets the text displayed for the first page button. |
GoToButtonId | Gets or sets the id value of the go to button for the page index box, if this property value is not set, pagechanged event will be fired after value of the pager index box is changed(fired by javascript onchange event). |
HidePagerItems | Gets or sets a value indicating whether MvcPager should be hidden (in case you need to create your own pager UI). |
HorizontalAlign | Gets or sets the horizontal alignment of a MvcPager on the page. |
HtmlAttributes | Gets or sets the object that contains the HTML attributes to set for the MvcPager. |
Id | Gets or sets the ID of the top DOM element that is the container of all pager items. |
InvalidPageIndexErrorMessage | Gets or sets the error message to be displayed when page index is invalid (not a valid integer). |
LastPageText | Gets or sets the text displayed for the last page pager item. |
MaximumPageIndexItems | Gets or sets the maximum number of page indices to be displayed within page index dropdownlist, this property value has no effect if page index box is a textbox, |
MaximumPageNumber | Gets or sets the maximum page number limitation, default value is 0, which means maximum page number is calculated from the data to be paged. |
MorePagerItemTemplate | Gets or sets the html template to be applied to the more pager items. |
MorePageText | Gets or sets the text displayed for the more pager items. |
NavigationPagerItemsPosition | Gets or sets the position of the first, previous, next and last pager items. |
NavigationPagerItemTemplate | Gets or sets the html template to be applied to the first, previous, next and last page pager items. |
NextPageText | Gets or sets the text displayed for the next page pager item. |
NumericPagerItemCount | Gets or sets the maximum number of the numeric pager items to be displayed. |
NumericPagerItemTemplate | Gets or sets the html template for the numeric pager items. |
OnPageIndexError | Gets or sets the Javascript function to call when page index errors occured. |
PageIndexBoxId | Gets or sets the ID of the page index box (must be textbox or dropdownlist). |
PageIndexOutOfRangeErrorMessage | Gets or sets the error message to be displayed when page index is oute of range (less than 1 or larger than total pages count). |
PageIndexParameterName | Gets or sets the page index parameter name in the current route. |
PageNumberFormatString | Gets or sets the format string for all numeric pager items. |
PagerItemsSeparator | Gets or sets the string used to separate the pager items (default value is ). |
PagerItemTemplate | Gets or sets the html template to be applied to all pager items. |
PrevPageText | Gets or sets the text displayed for the previous page pager item. |
RouteName | Gets or sets the name of the route that is used to generate paging urls. |
RouteValues | Gets or sets the object that contains the parameters for the route used by MvcPager. |
ShowDisabledPagerItems | Gets or sets a value indicating whether the disabled pager items should be displayed. |
ShowFirstLast | Gets or sets a value indicating whether the first page and the last page pager items should be displayed. |
ShowMorePagerItems | Gets or sets a value indicating whether the more pager items should be displayed. |
ShowNumericPagerItems | Gets or sets a value indicating whether the numeric pager items should be displayed. |
ShowPrevNext | Gets or sets a value indicating whether the previous page and the next page pager items should be displayed. |