CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 listbox html

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.