Changeset 1534

Show
Ignore:
Timestamp:
12/01/2006 06:37:58 AM (2 years ago)
Author:
xue
Message:

merge from 3.0 branch till 1533.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/framework/Web/UI/WebControls/TDataBoundControl.php

    r1532 r1534  
    338338                                $this->setViewState('PageCount',$ds->getPageCount()); 
    339339                                if($ds->getCurrentPageIndex()>=$ds->getPageCount()) 
     340                                { 
    340341                                        $ds->setCurrentPageIndex($ds->getPageCount()-1); 
     342                                        $this->setCurrentPageIndex($ds->getCurrentPageIndex()); 
     343                                } 
    341344                                $this->performDataBinding($ds); 
    342345                        }