Page 1 of 1

Scripting and Change Fonts

Posted: Wed Dec 23, 2009 9:42 am
by mercer_123
is there any way to geting HTML working in the Expression window so that you can change fonts and colors on the Reports depending on if it is populated.

{Employees.sPhone1.Trim()}{(Employees.sPhone2.Length > 0)?(", " + Employees.sPhone2.Trim()):(string.Empty)}{(Employees.sEmail.Length > 0)?(" Email: " + Employees.sEmail):(string.Empty)}

want to change the color, and font on email.

Scripting and Change Fonts

Posted: Wed Dec 23, 2009 10:27 am
by Edward
Hi

Please set AllowHTMLTags property of the StiText component in true. After that you will be able to apply Html tags in expressions in that text component.

That is possible.