c# - IPagedList localization -
i'm using third party component (ipagedlist
) implement pagination. works fine, need localize message example
showing items 11 through 11 of 11.
this message text generated using pagedlistrenderoptions.minimalwithitemcounttext
use following code set custom localized format:
var options = new pagedlistrenderoptions(); options.pagecountandcurrentlocationformat = "page {0} of {1}."; //your custom string goes gere options.itemsliceandtotalformat = "showing items {0} through {1} of {2}.";
Comments
Post a Comment