Changing colour of different parts of the one text in a text box (loaded through expression)
I have a text box which contains the string of parameter list and the selected value to let the user know about the selected filter criteria. There is considerable number of parameters and some of the values are text strings so rather than let it eating the space on the screen/paper I have concatenated them in the string which is based on the parameter list and corresponding selected values. User is happy with that but they feel difficult to read one coloured string to fine of the different parameters and selected values. Is there any way that I can change the colour in the different parts of string to make is more readable for example: Parameter 1: Value 1, Parameter 2: Value 2, Parameter 3: Value 3 Please advise DigitalFM
March 31st, 2011 4:21am

Hey Digital, Assuming you are using SSRS 2008: Yes, you can do that by forming an HTML expression instead of a plain text expression. So your expression would be: <font color="Green">Parameter 1:</font><font color="Blue">Parameters!Param1.Value</font>....... You would then set the Markup Type property of your Text Box as "HTML - Interpret HTML Tags as styles". This is available when you right click on the text box and select properties. You can read more on this at the following link: http://bidn.com/blogs/Daniel/ssas/1574/ssrs-multiple-fonts-sizes-and-colors-in-a-single-text-box HTH.Please mark correct answers :)
Free Windows Admin Tool Kit Click here and download it now
March 31st, 2011 4:42am

I have already done it with the placeholders Please see the details at : http://bidn.com/blogs/Daniel/ssas/1574/ssrs-multiple-fonts-sizes-and-colors-in-a-single-text-boxDigitalFM
March 31st, 2011 4:43am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics