Fork me on GitHub

PagerOptions.MorePageText property

Gets or sets the text displayed for the more pager items.

Syntax:

public string MorePageText {get; set;}

Default value:

“...”

Example:

@Html.Pager(Model,new PagerOptions{MorePageText="more"})

This property value can also be set via the Options method as bellow:

HtmlPager:

@Html.Pager(Model).Options(o=>o.SetMorePageText("more"))

AjaxPager:

@Ajax.Pager(Model).Options(o=>o.SetMorePageText("more")).AjaxOptions(a=>a.SetUpdateTargetId("target"))