自定义了一个html分页的helpernamespace System.Web.Mvc
{
    public static class PagingExtensions
    {
        public static string Pager(this HtmlHelper helper, int currentPage, int currentPageSize, int totalRecords, string urlPrefix)
        {
            略
}页面上也引用了这个,但是运行后发现呈现在页面上的不是视图,而是代码
如下面:
<a href='#' onclick=getContentTab("Articles","1") >Previous</a> <a href='#' onclick=getContentTab("Articles","1") >1</a> <a href='#' onclick=getContentTab("Articles","2") 这怎么回事?看了源码:&lt;a href=&#39;#&#39; onclick=getContentTab(&quot;Articles&quot;,&quot;1&quot;) &gt;1&lt;/a&gt;
&lt;a href=&#39;#&#39; onclick=getContentTab(&quot;Articles&quot;,&quot;2&quot;) &gt;2&lt;/a&gt;救救命!!!!