If you get some data as plain text (for example from a TextBox) and you want to handle the following tags in a report:
"test \n test1"
"test <BR> test1"
It is needed to add the following expression to the GenerateScript property of the TextBox element:
string data = @"Text \n text";
textBox1.Value = data.Replace(@"\n", "\n");
Similar way, you can also replace any other tags:
string data = @"Text <br> text \t text2";
data = data.Replace(@"\t", "\t");
data = data.Replace(@"<br>", "\n");
textBox1.Value = data;