I have a treeview that I inject into a dialog with ajax.
If I use:
$this->renderPartial(‘treeview’, array(‘model’=>$model),false, false);
Then:
-Treeview formatting is not working
-Dialog code is working
If I use:
$this->renderPartial(‘treeview’, array(‘model’=>$model),false, true);
Then:
-Treeview formatting is working
-Dialog code is not working
If I use:
$this->render(‘treeview’, array(‘model’=>$model));
Then:
-Treeview formatting is working
-Dialog code is not working
Can I use
$this->renderPartial(‘treeview’, array(‘model’=>$model),false, false);
and then manually load the script for CTreeview without messing up all the already loaded scripts?