我有一个 mvc ajax 寻呼机控件,如下所示
@Ajax.Pager(Model.pagedListPageControlModel, null, null, new PagerOptions
{
PageIndexParameterName = "pager",
ShowDisabledPagerItems = false,
SeparatorHtml = " ",
CurrentPagerItemWrapperFormatString = "<a class=\"selected\" href=\"#\">{0}</a>"
}, new AjaxOptions { UpdateTargetId = "targetPanel"}, new { @class = "pager"})
这使得 html 像:
<div class="pager">
<a href='#'>1</a>
<div>
我需要更改为:
<div class="pager">
<ul>
<li>
<a href='#'>1</a></li></ul>
<div>
格式。谁能知道该怎么做?