Changeset 1534
- Timestamp:
- 12/01/2006 06:37:58 AM (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/framework/Web/UI/WebControls/TDataBoundControl.php
r1532 r1534 338 338 $this->setViewState('PageCount',$ds->getPageCount()); 339 339 if($ds->getCurrentPageIndex()>=$ds->getPageCount()) 340 { 340 341 $ds->setCurrentPageIndex($ds->getPageCount()-1); 342 $this->setCurrentPageIndex($ds->getCurrentPageIndex()); 343 } 341 344 $this->performDataBinding($ds); 342 345 }
