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?









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





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


public function actionView($id)