Why Cdetailview Widget Is Not Working In Render Partial

hello, i am using magnific-popup jquery extension i want to pop up a view when i simply render it, it pop ups with all header and footers so i used render partial to display only the contents of that view there is a problem that when i render partial it the CDetail widget is not rendering there what is the problem…

can you post your code?

view




<?php

 Yii::import('ext.magnific-popup.EMagnificPopup');

$this->beginWidget("ext.magnific-popup.EGroupMagnificPopup",array(

	'delegate'=>'a',

	'type'=>'iframe',

));

?>

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

	'dataProvider'=>$dataProvider,

	'itemView'=>'_view',

));  

?>


<?php $this->endWidget(); ?>







controller





public function actionView($id)

	{

		$this->renderPartial('view',array(

			'model'=>$this->loadModel($id),

			false,true,

			

		));

	}