!{Html.TextBox("registerDetails.OtherCompanyActivity", registerModel.EditForm.OtherCompanyActivity, new { @class = "further_info", @tabindex = "15" })} this is my dropdownlist. And when i have selected a value in the dropdownlist , the textbox should be made readonly.