The PagingControl
control (View Component) provides a reusable user interface (button) for navigating through
pages of content in a web application.
Add a Paging control to your Razor view using code like this:
@await Component.InvokeAsync(typeof(Nucleus.ViewFeatures.Controls.PagingControl), new
{
model = Model.ApiKeys,
propertyName = "ApiKeys",
renderMode = Nucleus.ViewFeatures.ViewModels.PagingControl.RenderModes.Compact
})
model | The paging settings model containing paging information. |
propertyName | The property name used for model binding and state management. |
renderMode | The render mode for the paging control (default is Standard). |
TEntity
. For an example, see the List method in the
Publish Module data provider.