TActivePager Sample

The following sample displays three 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: Element.show('wait') Element.hide('wait')
Computer Parts
Total <%# $this->Parent->PageCount %> pages.
IDNameQuantityPrice
DataItem['id'] %> /> DataItem['name'] %> /> DataItem['quantity'] %> /> $DataItem['price'] %> />
Element.show('wait') Element.hide('wait')
Choose page: Element.show('wait') Element.hide('wait')
Use of a css class for buttons: .greenbold_button { background-color: #0f0; font-weight: bold; }