mhope
Posts: 37
|
| Posted: 11/15/2006, 12:03 AM |
|
Hi all,
I have a listbox and want it to render html (simple <span> and <br>) I don't see a way via CCS maybe I skiped over this?
Anyone have a solution / idea
Thanks
|
 |
 |
Edd
Posts: 547
|
| Posted: 11/15/2006, 10:00 PM |
|
You can't in pure CCS, however you can if you do a few tricks:
1. Change your list box to a Label output type HTML.
2. In the beforeshow event of the label build your own listbox using standard HTML and populate the value of the label with the HTML. Ensure that you give the listbox a name in the script.
3. Change the update and insert functions to custom Indert and Update Type Table. Then for the listbox field populate it with a standard Request.Form("NameOfForm").
This sounds a bit confusing but give it a try I do something similar to show colors. I did this years ago when I first started using CCS and did in a really convoluted manner - but the above is a better way.
Edd
_________________
Accepting and instigating change are life's challenges.
http://www.syntech.com.au |
 |
 |
|