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 -> General/Other

 TaskManager Example

Print topic Send  topic

Author Message
oeki

Posts: 1
Posted: 11/18/2006, 3:08 PM

Hello Forum,

to change the color of a field I add the following code (according to the manual!)
to the Before Show Row Event:

global $tasks;
if (strlen(CCGetSession("UserLogin")) && $tasks->user_id_assign_to->GetValue() == CCGetSession("UserLogin"))
{
$tasks->task_name->SetValue("<b><font color=\"blue\">".
$tasks->task_name->GetValue()."</font></b>");
}

but if I switch to Live page I can see the HTML-Code and no color-change
If I view the source code of HTML I can see CCS / PHP print the HTML-Entities &lt;b&gt;&lt;font color.........

what's wrong?

greetings from germany
oeki
View profile  Send private message
wkempees
Posted: 11/18/2006, 3:39 PM

The Properties of task_name DataType is Text, set it to HTML

Also in CCS 3.1, check out documentation or Help files for "Attributes", new
and easier way to do these things.

Walter

"oeki" <oeki@forum.codecharge> schreef in bericht
news:2455f9284a7e90@news.codecharge.com...
> Hello Forum,
>
> to change the color of a field I add the following code (according to the
> manual!)
> to the Before Show Row Event:
>
> global $tasks;
> if (strlen(CCGetSession("UserLogin")) &&
> $tasks->user_id_assign_to->GetValue() == CCGetSession("UserLogin"))
> {
> $tasks->task_name->SetValue("<b><font color=\"blue\">".
> $tasks->task_name->GetValue()."</font></b>");
> }
>
> but if I switch to Live page I can see the HTML-Code and no color-change
> If I view the source code of HTML I can see CCS / PHP print the
> HTML-Entities
> &lt;b&gt;&lt;font color.........
>
> what's wrong?
>
> greetings from germany
> oeki
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


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.

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.