TPager Sample
The following sample displays four different pagers associated with a single TDataList control. The datalist control is enabled with custom paging, which allows it to read only one page of data each time. This is typical in DB-driven applications.
Go to page:
Computer Parts
Total <%# $this->Parent->PageCount %> pages.
ID | Name | Quantity | Price |
DataItem['id'] %> /> |
DataItem['name'] %> /> |
DataItem['quantity'] %> /> |
$DataItem['price'] %> /> |
Choose page:
Use of a css class for buttons:
.greenbold_button {
background-color: #0f0;
font-weight: bold;
}