Savvas Sopiadis
Savvas Sopiadis

Reputation: 8223

MVCContrib Grid Paging customization

Is it possible to customize the Pager from the MVCContrib project? Right now i use this code (to page in german):

@Html.Pager((MvcContrib.Pagination.IPagination)Model.deals)
.First("Erste")
.Last("Letzte")
.Next("Naechste")
.Previous("Vorherige")

and the resulting display is this:

Showing 1 - 2 of 5 Erste | Vorherige | Naechste | Letzte

Is it possible to show the text "Showing"..."of" also in german?

Thanks in advance

Upvotes: 1

Views: 890

Answers (1)

Savvas Sopiadis
Savvas Sopiadis

Reputation: 8223

This was rather easy:

simply add the following:

.Format( "Anzeige {0}-{1} von {2} | " )

Upvotes: 3

Related Questions