DropDownList - ReadOnly or Lock property ???
Posted on 2004-09-10
I populate a dropdownlist with values then based on userrole I would to:
- set a selectedvalue and "lock" (readonly = true) OR
- give the user the ability to select any value of the list
However unlike the textbox the dropdownlist does not have a readonly property, hence I could go and change the datasource behind to reflect the selectable values, however that would be the LONG way round, was just hoping someone has a -- quickfix (lock, readonly or something)?
Need this rather quick..