Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Collapse]Card View
    Overview - CardView
    Main Features - Card View
   [Collapse]Concepts
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Collapse]Focus and Navigation
      Focused Card
     [Collapse]Paging and Scrolling
       Data Paging
       Endless Paging
       SEO Paging
       Vertical Scrolling
      Selection
    [Expand]Data Editing and Validation
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]HTML Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Navigation and Layout Extensions
  [Expand]File Management
  [Expand]Multi-Use Site Extensions
  [Expand]Charts
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Tree List
  [Expand]Data Editor Extensions
  [Expand]Report Extensions
  [Expand]SpellChecker
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Data Paging

Expanded Data Paging Overview

By default, the CardView automatically splits content across multiple pages and provides end-users with an embedded page navigation UI - Pager.

The built-in pager enables end-users to navigate through CardView data. It consists of navigation buttons: "next", "last", "previous", "first", "all"; an indicator that displays the current page number and the total number of pages, and a page size item allowing you to specify the maximum number of cards that can be displayed within a page. To access and customize pager settings, use the CardViewSettings.SettingsPager property.

The pager can be displayed above or below the cards, or on both sides.

Use the ASPxGridPagerSettings.Position property to specify the pager's position within the CardView.

The maximum number of cards that can be displayed within a page, can be accessed by the CardViewFlowLayoutSettings.ItemsPerPage property, provided that the Settings.LayoutMode (see ASPxCardViewSettings.LayoutMode) property is set to Flow. In the Table layout mode, for this purpose, use the CardViewTableLayoutSettings.ColumnCount and the CardViewTableLayoutSettings.RowsPerPage properties.

To disable page-mode navigation and display all cards within a CardView, set the ASPxCardViewPagerSettings.Mode property to GridViewPagerMode.ShowAllRecords.

Expanded Navigation in Code

The CardView provides a client-side API that enables you to navigate a user to the location you desire. All these methods are listed in the following table.

Member Description
ASPxClientCardView.GotoPage Navigates an end-user to the specified page.
ASPxClientCardView.NextPage Navigates an end-user to the next page.
ASPxClientCardView.PrevPage Navigates an end-user to the previous page.

After the active page has been changed, the ASPxGridBase.PageIndexChanged event is raised.

Expanded See Also

How would you rate this topic?​​​​​​​