Yii renderPartial
в общем все элементарно во вьюшке echo CHtml::ajaxLink( $text = 'Click me' , array ( 'req' ), $ajaxOptions = array ( 'type' => 'POST' , 'update' => '#content' , 'data' => array ( 'id' => '44' ), ), $htmlOptions = array ( ) ); в контролере public function actionRe q() { $content = $this ->renderPartial( 'application.views.site.pages.frameset' ); } frameset.php $page = $_POST [ 'id' ]; $page = Page::model()->findByPk( $page )->link; echo ' <iframe id="ifr" src="' . $page . '" align="center"> </iframe>' ;