Cgridview Search Not Functioning When Merged With Create Form

I have merged admin into create file by copying the gridview into create.php.

 <?php $this->renderPartial('_form', array('model'=>$model)); ?> 

<?php $this->widget('zii.widgets.grid.CGridView', array(










    )); ?>

It is saving data but the search functionality of grid view is not functioning. Whereas, the same code of CGridView is functioning in admin.php.

here is my controller:

public function actionCreate()


        $model=new Center;

        // Uncomment the following line if AJAX validation is needed

        // $this->performAjaxValidation($model);