Fork me on GitHub

PagerOptions.FirstPageText property

Gets or sets the text displayed for the first page button.

Syntax:

public string FirstPageText {get; set;}

Default value:

First

Example:

@Html.Pager(Model,new PagerOptions{FirstPageText="<<"})

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

HtmlPager:

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

AjaxPager:

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