perochak
(Amjad Mughal)
1
Hi,
I want to Render Some data in JuiDialog in CGridView
array(
'name'=>'client_name',
'value'=>'CHtml::Link(\'open dialog\', \'#\', array(\'onclick\'=>\'
$("#mydialog").dialog("open");
return false;
\',))',
'type'=>'raw',
),
<!-- JuiDialog-->
<?php
$this->beginWidget('zii.widgets.jui.CJuiDialog', array(
'id'=>'mydialog',
// additional javascript options for the dialog plugin
'options'=>array(
'title'=>'Title',
'autoOpen'=>false,
),
));
echo 'dialog content here';
$this->endWidget('zii.widgets.jui.CJuiDialog');
?>
but no success.
What I want is
Get the Value of the link invoking the JuiDialog.
plz help me
mundiyani
(Sammundiyani)
2
Please check, it may help you:
http://www.yiiframework.com/forum/index.php?/topic/21541-to-render-a-view-in-a-dialog-via-ajaxjquery-request/