[ASP] My first question
Bernhard Spuida
activeserverpages at glengamoi.com
Fri, 21 Jan 2005 12:09:41 +0100
Tag!
>
> I am new in ASP.NET and I am new in this list so excuse me if I do any
> mistake...
>
>
> My question to any expert of you is this:
>
> I want to display a listbox on a webform with different item attributes such
> as color and enable/disable-state.
>
> In HTML it would look like this for example:
>
> <select name="test" multiple size="7">
> <option style="color:blue" value="Item_0">Item 0</option>
> <option disabled style="color:green" value="Item_1">Item 1</option>
> <option style="color:blue" value="Item_2">Item 2</option>
> </select>
>
>
> It works well beside the fact that the "disable" attribute is not supported
> by InternetExplorer. Could it be a bug?
>
> But my question actually is this:
> How can I make an ASP.NET page that applies those listbox item attributes?
>
> Please give me any hint, link or even a full solution for my problem.
>
> Thank you a lot
> Frank
>
Listensprache ist Deutsch. Danke,
der Assistant BLfH
665.9238429876 - Number of the Pentium Beast