Problem With Chtml DropDownList

I am using Chtml dropdownlist for showing dropdown.

Now I am showing a multiselect dropdown list.

For that I have used multiple option and the multiselect box is coming out nicely.

For simple dropdowns I know how to show the selected value when the page is opened in edit mode.

But my problem is how to show the selected options in multi select list

Kindly Help

Regards

Vatsal

you can use Chtml::checkBoxList($model,$attr,$data)

Correct the statement with:


Chtml::checkBoxList($name,$select,$data,$htmlOptions);

Or


$form->checkBoxList($model,$attribute,$data,$htmlOptions);