Multiselect Dropdownlist

In my View:


<?php echo $form->dropdownList($model,'Genre',CHtml::listData(

                        Genre::model()->findAll(), 'id', 'Name'),

                          array('multiple' => true)); ?>

I want to use addInCondition in search criteria with the selected values.

How can i achieve my goal…

Expecting quick reply.

Thanks in advance.

Any working example of multiselect dropdownlist to use the selected valuees in search criteria… :unsure:

How can save list data in controller …?