Pagination above and below results

I am using




$dataProvider=new CActiveDataProvider('Details', array(

    'criteria'=>$criteria,

    'pagination'=>array(

        'pageSize'=>8,

    ),


));

to provide my results now I get my pagination in the bottom, how can I have it in the top also

See this topic

You should red this link

pagination

This will help you.