Nucleus .Net Core CMS

HtmlHelpers.PageListHtmlHelper Class

Namespace: Nucleus.ViewFeatures.HtmlHelpers
Assembly: Nucleus.ViewFeatures.dll
Html helper used to render a PageList control.

Methods

PageListFor<TModel, Guid> (IHtmlHelper<TModel,TModel,Guid>) Method

PageListFor<TModel, Guid> (IHtmlHelper<TModel, TModel, Guid> pageMenu)
Renders a PageList control.
Type Parameters
TModel
Guid
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
expression System.Linq.Expressions.Expression<TModel>
pageMenu <Guid>
Remarks
The PageList control is used by the admin control panel (page editor and site editor) and requires supporting code in the hosting page and controller. It will not work standalone.

PageListFor<TModel, Guid> (IHtmlHelper<TModel,TModel,Guid>,PageMenu) Method

PageListFor<TModel, Guid> (IHtmlHelper<TModel, TModel, Guid> pageMenu, PageMenu disabledPageId)
Renders a PageList control.
Type Parameters
TModel
Guid
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
expression System.Linq.Expressions.Expression<TModel>
pageMenu <Guid>
disabledPageId Nucleus.Abstractions.Models.PageMenu
Remarks
The PageList control is used by the admin control panel (page editor and site editor) and requires supporting code in the hosting page and controller. It will not work standalone.

PageListFor<TModel, Guid> (IHtmlHelper<TModel,TModel,Guid>,PageMenu,Guid) Method

PageListFor<TModel, Guid> (IHtmlHelper<TModel, TModel, Guid> pageMenu, PageMenu disabledPageId, Guid htmlAttributes)
Renders a PageList control.
Type Parameters
TModel
Guid
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
expression System.Linq.Expressions.Expression<TModel>
pageMenu <Guid>
disabledPageId Nucleus.Abstractions.Models.PageMenu
htmlAttributes Guid
Remarks
The PageList control is used by the admin control panel (page editor and site editor) and requires supporting code in the hosting page and controller. It will not work standalone.

PageListFor<TModel, Guid> (IHtmlHelper<TModel,TModel,Guid>,PageMenu,Guid,String) Method

PageListFor<TModel, Guid> (IHtmlHelper<TModel, TModel, Guid> pageMenu, PageMenu disabledPageId, Guid noSelectionText, String htmlAttributes)
Renders a PageList control.
Type Parameters
TModel
Guid
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>
expression System.Linq.Expressions.Expression<TModel>
pageMenu <Guid>
disabledPageId Nucleus.Abstractions.Models.PageMenu
noSelectionText Guid
htmlAttributes String
Remarks
The PageList control is used by the admin control panel (page editor and site editor) and requires supporting code in the hosting page and controller. It will not work standalone.