Nucleus .Net Core CMS

Paging Control

Overview

The PagingControl control (View Component) provides a reusable user interface (button) for navigating through pages of content in a web application.

Usage

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 
})

Parameters

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).

Notes