示例#1
0
        public static MvcHtmlString PagerForPagedList(this AjaxHelper source, int index, IPagedList list, string actionName, string targetName, string loadingElement, string pagerCss)
        {
            AjaxOptions ajaxOption = new AjaxOptions()
            {
                HttpMethod       = "GET",
                LoadingElementId = loadingElement,
                UpdateTargetId   = targetName
            };
            AjaxOptions ajaxOption1 = ajaxOption;

            return(HtmlHelperExtensions._pagerBuilder(source, index, list, actionName, null, null, ajaxOption1, pagerCss, 15, "<<", ">>"));
        }
示例#2
0
 public static MvcHtmlString PagerForPagedList(this AjaxHelper source, int index, IPagedList list, string actionName, object routevalues, object htmlAttributes, AjaxOptions opitions, string pagerCss, int totalGroups, string prevText, string nextText)
 {
     return(HtmlHelperExtensions._pagerBuilder(source, index, list, actionName, routevalues, htmlAttributes, opitions, pagerCss, totalGroups, prevText, nextText));
 }
示例#3
0
 public static MvcHtmlString PagerForPagedList(this AjaxHelper source, int index, IPagedList list, string actionName, object routevalues, AjaxOptions opitions)
 {
     return(HtmlHelperExtensions._pagerBuilder(source, index, list, actionName, routevalues, null, opitions, "", 15, "<<", ">>"));
 }