CMultiFileUpload didn't work in CJuiDialog widget

Hi,

I am using CJuiDialog widget with ajaxSubmitButton for popup form…it works well…

But now i need to upload multiple files from that popup form… so i use CMultiFileUpload for upload option




 $this->widget('CMultiFileUpload',

                        array('name'=>'image',

                              'max'=>5,

                              'remove'=>'Remove',

                              'duplicate'=>'Already Selected',

                            )

                       );



but i acts like a normal single file button… please help me to solve this…

What function you use to render contents of that popup window? Are you sure it is renderPartial? There were some forum posts saying that using normal render for rendering views with dialog boxes isn’t the best idea.