how do i make a activeradiobutton as readonly

how do i make a activeradiobutton as readonly…someone help me

This is an HTML or js question. Please google it for a solution. At the minimum, you could set 'disabled' in the htmloptions parameter.

tell me which is conveinent method for making the activeradiobutton and active dropdownlist as readonly…help me

hi there,

like qiang said, use 'disabled' for radio button and dropdown list. readonly option is never mend for radio button and dropdown list.

so all u have to do is:

CHtml::activeRadioButton($form, 'gender', array('disabled' => true));