Skip to Content
0
Former Member
Jul 14, 2006 at 02:12 AM

Line breaks in displaying comments in table uielement

25 Views

In the application I am working on, we capture a lot of comments that are stored in the database. I need to now display these comments which could be "0 to n" in a table format with some other columns like COMMENTS FROM/ COMMENTS DATE/COMMENTS etc.

Problem: The users, when typing the comments in a text-edit field have inserted line breaks. But the column that displays the COMMENTS ignores the line breaks and treats the entire text as one big line.

I have already looked at FormattedViewText uielement but the table uielement cannot use that as child element.

Any suggestions.

Thanks in advance

Prashant