i
Web Application Fundamentals
Using Internet Information Services
Web Forms
ASP.NET MVC
Web Services
ASP.NET Features
Request/Response Programming
HttpRequest Class
HTTP Collections
HttpResponse Class
Redirection
HttpUtility Class
Using Visual Web Developer
Visual Studio Forms Designer
Using Components
Shadow Copying
Using the Global.asax File
Data Binding
Different Types Of Caching
How to use Object cache
Optimizing Your ASP.NET Application
What Is Caching [Storage]
Forms Authentication
Windows Authentication
ASP.NET Security Fundamentals
Data Source Controls
SqlDataSource
SiteMapDataSource
The AccessDataSource Control
ObjectDataSource
Connection String Storage
GridView
DetailsView
FormView
ListView
DataPager
Entity Data Model
EntityDataSource
Remote Method Calls
Ajax Control Toolkit
Ajax Client Library
Rich Client Applications
Ajax [Asynchronous JavaScript and XML]
ScriptManager
UpdatePanel
Model-View-Controller Pattern
ASP.NET MVC versus Web Forms
ASP.NET MVC Projects in Visual Studio
Action Methods in MVC
Routing in MVC
Strongly-Typed Views [Add images here from the visual studio]
Model Binding
Validation
ADO.NET [ActiveX Data Object]
ASP.NET Data Providers
Connections
Commands
DataReaders and Connected Access
DataSets and Disconnected Access
To display the data item in pages (for paging), we use another ASP.NET control DataPager with ListView control. The DatePager control provides paging for data-bound ASP.NET controls that implement the IPageableItemContainer interface, such as the ListView control.
Pager Fields
To display navigation controls, the pager fields are used.
Pager field |
Description |
NextPreviousPagerField |
Enables users to navigate through pages or to jump to the first or last page. |
NumericPagerField |
Enables users to select a page number. |
TemplatePagerField |
Enables us to create a custom template paging UI. |
Page Properties
The following table lists the read-only properties of the DataPager control that indicates the characteristics of the page of the data. That properties are usually used for binding expressions in the TemplatePagerField object.
Property |
Description |
MaximumRows |
The maximum records display for the page of data. |
StartRowIndex |
The first record’s index displayed on a page of data. |
TotalRowCount |
The total number of records in the data source. |
In the image below, you can see the "DataPager” control.
Syntax:
Don't miss out!