Yes, it is, but needs a bit work as basically it would need to be done so
that every ListItem in the ListBox has custom style attributes. Those
attributes are then rendered at the HTML. Only problem is that this works by
default only in HtmlSelect control.
See:
http://support.microsoft.com/default...b;en-us;309338
So if you absolutely need ListBox, you would need to rewrite some
implementation for the control.
--
Teemu Keiski
MCP,Designer/Developer
Mansoft tietotekniikka Oy
http://www.mansoft.fi
ASP.NET Forums Moderator,
www.asp.net
AspAlliance Columnist,
www.aspalliance.com
Email:
jo****@aspalliance.com
"Alessandro" <ge********@hotmail.com> kirjoitti viestissä
news:eN**************@TK2MSFTNGP12.phx.gbl...
There is a way to give different color to listitems of a ListBox ?