C# Class X.PagedList.Mvc.PagedListRenderOptions

Options for configuring the output of X.PagedList.Mvc.HtmlHelper.
显示文件 Open project: kpi-ua/X.PagedList Class Usage Examples

Public Methods

Method Description
EnableUnobtrusiveAjaxReplacing ( System.Web.Mvc.Ajax.AjaxOptions ajaxOptions ) : PagedListRenderOptions

Enables ASP.NET MVC's unobtrusive AJAX feature. An XHR request will retrieve HTML from the clicked page and replace the innerHtml of the provided element ID.

EnableUnobtrusiveAjaxReplacing ( PagedListRenderOptions options, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions ) : PagedListRenderOptions

Enables ASP.NET MVC's unobtrusive AJAX feature. An XHR request will retrieve HTML from the clicked page and replace the innerHtml of the provided element ID.

EnableUnobtrusiveAjaxReplacing ( string id ) : PagedListRenderOptions

Enables ASP.NET MVC's unobtrusive AJAX feature. An XHR request will retrieve HTML from the clicked page and replace the innerHtml of the provided element ID.

PagedListRenderOptions ( ) : System

The default settings render all navigation links and no descriptive text.

Method Details

EnableUnobtrusiveAjaxReplacing() public static method

Enables ASP.NET MVC's unobtrusive AJAX feature. An XHR request will retrieve HTML from the clicked page and replace the innerHtml of the provided element ID.
public static EnableUnobtrusiveAjaxReplacing ( System.Web.Mvc.Ajax.AjaxOptions ajaxOptions ) : PagedListRenderOptions
ajaxOptions System.Web.Mvc.Ajax.AjaxOptions Ajax options that will be used to generate the unobstrusive tags on the link
return PagedListRenderOptions

EnableUnobtrusiveAjaxReplacing() public static method

Enables ASP.NET MVC's unobtrusive AJAX feature. An XHR request will retrieve HTML from the clicked page and replace the innerHtml of the provided element ID.
public static EnableUnobtrusiveAjaxReplacing ( PagedListRenderOptions options, System.Web.Mvc.Ajax.AjaxOptions ajaxOptions ) : PagedListRenderOptions
options PagedListRenderOptions The preferred Html.PagedList(...) style options.
ajaxOptions System.Web.Mvc.Ajax.AjaxOptions The ajax options that will put into the link
return PagedListRenderOptions

EnableUnobtrusiveAjaxReplacing() public static method

Enables ASP.NET MVC's unobtrusive AJAX feature. An XHR request will retrieve HTML from the clicked page and replace the innerHtml of the provided element ID.
public static EnableUnobtrusiveAjaxReplacing ( string id ) : PagedListRenderOptions
id string The element ID ("my_id") of the element whose innerHtml should be replaced, if # is included at the start this will be removed.
return PagedListRenderOptions

PagedListRenderOptions() public method

The default settings render all navigation links and no descriptive text.
public PagedListRenderOptions ( ) : System
return System