Anybody figured out an optgroup hack?

  • Thread starter Thread starter clintonG
  • Start date Start date
C

clintonG

IE 6 finally supported HTML 4.0 optgroup used with the select list lemet but
there's no apparent way to use optgroup with ASP.NET. The DropDownListBox
will not support optgroup and writing an HTML control marking the select as
runat="server" raises an System.Web.HttpException: 'HtmlSelect' cannot have
children of type 'LiteralControl'.

I'm paging through search results but I'm also wondering if anybody has a
clever hack yet?

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://clintongallagher.metromilwaukee.com/
MAP 43°2'17"N 88°2'37"W : 43°2'17"N 88°2'37"W
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top