Here is the HtmlSelect I mentioned in the forum (http://forums.anthemdotnet.com/forums/viewtopic.php?p=3841#3841).
It's pretty much copy-paste-change from the Dropdown and was quite easy to do actually ;-)
I wrote it because I needed to colorize options in an html-select box, and ASP.Net's dropdown doesn't support this. I hope it will be of use to others too.
Notice: I've tried it in ASP.Net 2.0 only. I'm not sure how it would work in 1.1.
Also, I havn't done anything with the designer code. I'm just using this in markup, so maybe the designer-support might need fixing as well.
All the best and thanks for Anthem! It's really great.
Log in to post a comment.