分页

<div class="fy" id="diggpager" style="margin-top:20px">
@Ajax.Pager(Model, new PagerOptions
{
CurrentPagerItemTemplate = "<span class=\"current\">{0}</span>",
DisabledPagerItemTemplate = "<span class=\"disabled\">{0}</span>",
FirstPageText = "首页",
NextPageText = "下一页",
LastPageText = "尾页",
PrevPageText = "上一页",
PageIndexParameterName = "page",//当前页数
PagerItemTemplate = "&nbsp;{0}",
Id = "page",
ActionName = "Index"//action名称
}, new MvcAjaxOptions { UpdateTargetId = "investlist", HttpMethod = "Post", EnablePartialLoading = true })
</div>

//UpdateTargetId = "investlist" 绑定的列表页面

//EnablePartialLoading = true 部分页加载