List view with RichTextDisplay column is displayed distorted
SummaryUser has a list view. One of its column is displayed using RichTextDisplay (RTD) control. However the display is distorted in certain cases when any of RTD cell has an incomplete value.
Distorted in the sense some of the rows are not displayed, some of the columns are arranged improperly.
By incomplete value, it means that the Html markup is not completely formed and complete, the tags are not properly closed.
Error MessagesNot applicable
Steps to ReproduceInclude one of the RTD cell with incomplete value (Html markup), This can happen when user has a size limit on property's column in DB.
Root CauseSo long user has incomplete or inappropriate values our Listview with columns using the RichTextDisplay format may be displayed distorted.
In the particular case the values were incomplete because they were stored in an exposed column in database.
And the exposed database column had a size limit. So whenever the values extended this size limit, the value was being truncated and stored, thereby storing incomplete values. And when such incomplete value is rendered via RTD display is distorted.
Extend the size limit on exposed database column to accommodate big HTML markup values to avoid truncation.
Published December 12, 2016 - Updated January 11, 2017