Render cgridview using EJuiDlgsColumn


I am using the extension quickdlgs. I replaced the standard buttonColumn of CGridView with EJuiDlgsColumn class. Normally this works great.

But in my view.php I tried to call additionally a gridview that displays related records connected in the model definition.

This is my controller as usual:

public function actionView($id)	{

  $modelWerke = New Werke('search');


  if ( isset($_GET['Werke']) )


     $WerkeData = $modelWerke->search("Heft_Id=".$id);







This is my view.php:

$this->Widget('zii.widgets.CDetailView', array(








// if I remove the following lines of code, everything is ok, the view is shown in the JQueryUI dialog.






I get this javascript error:

cannot call methods on dialog prior to initialization; attempted to call method 'open'

If I select the link behind the view button of the gridView and copy it into the browser’s address bar, the page is displayed (the CSS is not ok, but all data are present).

The view-button link is correct. But the target page obviously cannot be displayed inside the JQueryUI dialog.

Why not?

Thank you for help.