Last post Jan 01, 2014 09:37 PM by Kevln Kuan
Dec 18, 2013 05:55 AM|Kevln Kuan|LINK
In the table in my SSRS report there is a field that can contain very long strings. These strings do not contain any spaces.
when i preview the report in Visual Studio, it works fine in wrapping the text by expanding it vertically. However, when the report are rendered in the report viewer in web browser, the wrapping of text doesnt work correctly for a long continuos string without
a spacing (e.g. imaveryveryverylonglonglonglongstringwithoutanyspacing), it will expand the report horizontally untill it fits the entire string, thus destroying the preview of the report in report viewer. Is there any way to solve this issue?
Dec 19, 2013 01:34 AM|Michelle Ge - MSFT|LINK
According to your description, we want to display the long string in the reportviewer and it will display line by line.
I have a suggestion for this problem but with TextBox control. We can set the CanGrow property of the textbox to True, then if the length of the text is too long, it will break into next line base on the width of the textbox.
Hope it's useful for you.
Jan 01, 2014 09:37 PM|Kevln Kuan|LINK
I do notice that TextBox control doest have this problem, however, I dont think textbox control can be used to replace the table unless textbox is also able to reflect the data row by row from the database which i do not know.