
rstewart
Posts: 17
|
| Posted: 12/18/2007, 5:53 AM |
|
I need to add a title tag to the each option of a listbox. (server side)
<select name="{Category_Name}">
<option value="" selected>Select Value</option>
{Category_Options}
</select>
How do you do this when the classes.asp builds to {Category_Options} tag?
I tried using an expression in the bound Bound Column:
e.g. [Category] + ' Title=' + [another field]
However, the classes.asp uses the keylist array to assign the SELECTED tag.
Hence, the Bound Column will never match up to add a SEECTED tag.
what I need are the option to look like this:
<option value="monday" Title="day one">Monday</option>
<option value="monday" Title="day 1">Monday</option>
<option value="tuesday" Title="day 2" SELECTED>Tueday</option>
<option value="wednesday" Title="day 3">Wednesday</option>
How can I add an attribute or css class or title or whatever to the option tag?????
_________________
looking for work in a sunny country. |
 |
 |
|

|