I am trying to render a column which has lots of HTML escaped characters, such as α for alpha, β for beta. I use SSRS 2012's placeholder property to render it as HTML markup type. This feature looks like only works with HMTL tags, not escaped characters. Any feedback appreciated.
Right-click on the non-design surface of your report and click Report Properties.... Click the References option, click Add in Add or remove assemblies and add System.Web from the .NET options.
Click the Code option and add the following code:
Function Decode(ByVal EncodedString AS String) AS String
Return System.Web.HttpUtility.HTMLDecode(EncodedString)
End Function
For your field value, use the expression:
=Code.Decode(Fields!MyField.Value)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With