2012-05-16 60 views
1

是否可以從MVCContrib項目自定義尋呼機? 現在,我使用這個代碼(在德語頁面):MVCContrib網格分頁定製

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

,所得的顯示是這樣的:

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

是否可以顯示文本「顯示」 ...「的「還用德語?

在此先感謝

回答

3

這是相當容易:

只需添加以下內容:

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