CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 html code at a Label

Print topic Send  topic

Author Message
Fernando Campos
Posted: 08/28/2002, 8:44 PM

Hello.

I'm working at CCS Tutorial and at page 55 there's an Event to change the color of a Label to "blue" if the name assigned is the same of the LoginID.

The script is working OK, but at Live Page I see the html code instead of the result wanted

The script is:

If tasks.Recordset.Fields("user_id_assign_to") = Session("UserID") then
tasks.user_id_assign_to.Value = "<b><font color=""blue"">"&tasks.user_id_assign_to.Value&"</font></b>"
End If

The result is:

Assigned To
David Snyder
Stefan Fey
<b><font color="blue">Li Jang</font></b> (here is the error)
Pablo Sanchez
Rob McDonald

Could some one help me?

thank you
Mehmet Ozdemir
Posted: 08/28/2002, 9:54 PM

I Haven't worked thru any of the tutorials, but I'm guessing that you need to set the "Content" property of the Label to "HTML" eg:

If tasks.Recordset.Fields("user_id_assign_to") = Session("UserID") then

tasks.user_id_assign_to.HTML = True
tasks.user_id_assign_to.Value = "<b><font color=""blue"">"&tasks.user_id_assign_to.Value&"</font></b>"

End If

of just set the property in the designer.
M Prinke
Posted: 01/09/2003, 7:37 AM

This works. Thanks

   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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