Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
500
Change Color of Items when Drop Down is Loaded
posted

I would like to be able to change the color of the text of items in a webdropdown before the drop down is displayed. The change in color would be based on a certain condition of the item that is being shown in the drop down list. So some items would be shown in one color and other items in a different color, based on the condition. My drop down is bound to a SQL data source in a Visual Basic application. I am using framework 4.0.  What event would I use to do this and how do I access each item, while it is being loaded.

 

Thank you.