ASP.Net ListBox Item Forecolor

Zoopnfunk

Member
Joined
Nov 1, 2005
Messages
5
Programming Experience
1-3
I have a multiSelect user control that is comprised of two asp:listbox controls. I would like to change the font of individual items contained within the listbox.

For Example: Let's say I have one listbox named 'lstAvailable' and it contains a list of both active and inactive members. Is there a way I can change the forecolor of the inactive members to red while keeping the forecolor for the active members black?

To summarize: I need to be able to change the forecolor of individual items inside my listbox control. Can someone please help? So far I have been able to change the forecolor of the entire control but not the individual items.

Thanks! :confused:
 
Back
Top