Dynamically Assigning Colors to Fields in ASP.NET
I’ve come across another little frustration with Visual Web Developer Express and ASP.NET
I’m trying to figure out how to dynamically assign a background color to a label or text field based on the value of a field in the database.
For example, we’d have a field labeled AlertColor and in that field would be the hexidecimal color code that we’d like to use based on the another field value somewhere else.
Now, I’d think that should be a straight forward bound field, but it appears that it’s not so simple. Does anyone have any good solutions or reasons why this isn’t as simple as I would expect?
Related Stories
POSTED IN: Software Wishlist, Training, Visual Web Developer Express
1 opinion for Dynamically Assigning Colors to Fields in ASP.NET
paski
Mar 18, 2008 at 5:55 am
can you tell memore about the xp and linux world if you have any
Have an opinion? Leave a comment: