Harsha W
Harsha W

Reputation: 3366

Concatenate a character to a TextBox value

How to concatenate a character after the field value in a text box in Telerik Reporting?

I tried the below way. Its not working. Is there any way to achieve this task?

= {Fields.OlderThan} + " Days"
= {Fields.OlderThan} + Days
= {Fields.OlderThan} Days

textBox24.Value expression [= {Fields.OlderThan} "Days"] is not valid:

If Fields.OlderThan = 10 Result should be "10 Days"

Upvotes: 1

Views: 455

Answers (1)

Oggy
Oggy

Reputation: 1666

You should get rid of those {}. It should work just fine without them: = Fields.OlderThan + " Days".

I also like to handle the case where the field might be null, because if Fields.OlderThan is null nothing will get printed in your text box:

= IsNull(Fields.OlderThan,"") + " Days"

Upvotes: 2

Related Questions