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?
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.
Best Regards,
Michelle Ge
We are trying to better understand customer views on social support experience. Click HERE to participate the survey. Thanks!
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.
None
0 Points
3 Posts
Report Viewer Web Control Doest Not Wrap Long Continuous Text that is without space
Dec 18, 2013 05:55 AM|Kevln Kuan|LINK
Hi,
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?
All-Star
18232 Points
2199 Posts
Re: Report Viewer Web Control Doest Not Wrap Long Continuous Text that is without space
Dec 19, 2013 01:34 AM|Michelle Ge - MSFT|LINK
Hi,
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.
Best Regards,
Michelle Ge
None
0 Points
3 Posts
Re: Report Viewer Web Control Doest Not Wrap Long Continuous Text that is without space
Jan 01, 2014 09:37 PM|Kevln Kuan|LINK
Hi Michelle,
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.
Regards,
Kevin