C# Класс X.PagedList.Mvc.PagedListRenderOptions

Options for configuring the output of X.PagedList.Mvc.HtmlHelper.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

EnableUnobtrusiveAjaxReplacing() публичный статический Метод

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
Результат PagedListRenderOptions

EnableUnobtrusiveAjaxReplacing() публичный статический Метод

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
Результат PagedListRenderOptions

EnableUnobtrusiveAjaxReplacing() публичный статический Метод

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.
Результат PagedListRenderOptions

PagedListRenderOptions() публичный Метод

The default settings render all navigation links and no descriptive text.
public PagedListRenderOptions ( ) : System
Результат System