Fork me on GitHub

PagerOptions.LastPageText property

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

Syntax:

public string LastPageText {get; set;}

Default value:

Last

Example:

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

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

HtmlPager:

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

AjaxPager:

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