Option Groups in List Boxes

  • Thread starter Thread starter Ben Mann
  • Start date Start date
B

Ben Mann

Hi There,

I've been using asp:listboxes for a little while and see that they are very
useful for both DataBinding and adding listitems to.

I was wondering whether anyone knows if its possible to get them to output
<optgroup> tags as well.
I need to group my list items using them, but can't see that any support for
them has been built in.

I know that i generate the select box myself, but then i lose the serverside
functionality.

Thanks.

Ben Mann
 
You could certainly write your own Server Control with this functionality.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 
Back
Top