This is a migrated thread and some comments may be shown as answers.

HTML - Error Handling

1 Answer 64 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 08 Aug 2018, 12:47 PM

I am working on a report that consists of a table of values. I have used HTML text boxes in the table as my data is stored in HTML format.

When running the report, it mostly works. However, since the HTML box can't handle embedded image files, I will receive an error for that one cell in the table. This causes the report to expand greatly and push data to other pages.

Is there an expression that can be run to test the value to see if Telerik can render it first? Like an If Error() expression.

 

1 Answer, 1 is accepted

Sort by
0
Brian
Top achievements
Rank 1
answered on 08 Aug 2018, 12:55 PM

Sorry, resolved, just had to read into the functions that are available.

=iif(IsValidXhtml(fields.description) = True,fields.description, StripHtmlTags(fields.description))

Tags
Report Designer (standalone)
Asked by
Brian
Top achievements
Rank 1
Answers by
Brian
Top achievements
Rank 1
Share this question
or