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

Textbox with no word wrap

4 Answers 443 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 05 Jan 2013, 11:01 PM
I have a textbox with a specific width, I want the text to display and then truncate at the length.   I have set WordWrap, Multiline, and CanGrow to False, but when I programmatically export to PDF, it doesn't show partial words.  Crystal Reports does this.  

I have the latest 2012 version.  

Peter

4 Answers, 1 is accepted

Sort by
0
IvanY
Telerik team
answered on 10 Jan 2013, 10:06 AM
Hello Peter,

Since part of words are not usable in most cases the Reporting engine ignores them and only whole words are displayed. The CanGrow property defines if the textbox can become larger in order to display all the text. The Multiline property defines if the textbox has one or more than one lines. The TextWrap property defines if a single line will span on multiple lines if it is wider than the textbox. Currently there is no property that controls if the words will be truncated or not displayed at all.

Regards,
IvanY
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
Peter
Top achievements
Rank 1
answered on 10 Jan 2013, 12:54 PM
Please consider this a suggestion.  There should be option to control whether words are truncated or not.

Peter
0
Marko Gluhak
Top achievements
Rank 1
answered on 18 Jun 2013, 02:00 AM
Is there any news about this feature. I'm also in need of this feature.

Next feature that would also satesfied me is that CanGrow resize width od textbox if multiline is set to false.
0
A.
Top achievements
Rank 1
answered on 08 Oct 2019, 02:46 PM

The similar issue but under Linux (Docker):

https://feedback.telerik.com/reporting/1433335-telerik-reporting-pdf-issues-in-linux-docker

Tags
General Discussions
Asked by
Peter
Top achievements
Rank 1
Answers by
IvanY
Telerik team
Peter
Top achievements
Rank 1
Marko Gluhak
Top achievements
Rank 1
A.
Top achievements
Rank 1
Share this question
or