Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to disable a combo box

Status
Not open for further replies.

lucyc

Programmer
Mar 1, 2002
62
US
I have a combo box on my asp. Does anyone know how to disable it, so they can't open the dropdown list. I tried "Disabled" and "ReadOnly=true'" and don't work. Please help. Thanks.
 
Well if you just want it there for visual display and not editing then just put the one <option> in there.

-pete
 
Here is actual code I use to disable my dropdown lists and it works:

frmProcess.ProcessTypeID.disabled = true;


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top