use the ddl properties in the main code to change the back or fore color of the ddl. use properties like dropdownlist.backcolor.green and dropdownlist.forecolor.black when u have the cities active. by enclosing the statements in a if condition. if active =1 then dropdownlist.backcolor.green dropdownlist.forecolor.black end if