Fork me on GitHub

PagerOptions.NextPageText property

Gets or sets the text displayed for the next page pager item.

Syntax:

public string NextPageText {get; set;}

Default value:

Next

Example:

@Html.Pager(Model,new PagerOptions{NextPageText=">"})

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

HtmlPager:

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

AjaxPager:

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