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

Text Wrap in a Text Box

3 Answers 806 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Suriya
Top achievements
Rank 1
Suriya asked on 19 Feb 2009, 05:25 AM

Hi..

    Good morning..

Againg Suriya...

Now I have trying to wraping the text in a single textbox.... but i have no idea about it...

For example :

        i need output as :

       

          Raja ia a good boy.

          Pooja also too.

         but the input is   

         Raja ia a good boy.Pooja also too.

please solve my problem as soon as problem...

             By Suriya

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 19 Feb 2009, 09:08 AM
Hello Suriya,

Textwrap is controlled by the TextWrap property of the textbox item. When the property is true (default value), it would wrap the text exactly as you need it. Currently there is an issue with it in HTML rendering, but the problem is that it always wraps, which should not affect you as this is what you are after.
Have in mind that in order to have the text wrap, the textbox item width should be insufficient to accommodate it and only then it would wrap. If its width is enough to display the text, then there is nothing to wrap.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Jay
Top achievements
Rank 2
answered on 22 Sep 2009, 04:57 PM
Hi Surya!
I had similar issue like yours. But it was the problem of Textmode property. Please try the following properties

<
telerik:RadTextBox ID="txtComments" Text="" runat="server" CausesValidation="True" Width="400px" TextMode="MultiLine" Rows="4" Wrap="true"

 

></telerik:RadTextBox>

 

 

0
Jolanta
Top achievements
Rank 1
Veteran
answered on 15 May 2019, 09:23 AM

Hi, currently I have a problem with negative nubbers wrapping, as result I get:
                     - 
928'505'106'7
             70.16 

istead of
-928'505'106'
          770.16 
Currently, we use: R2 2018 Sp1 ver 12.1.18.620

How can I avoid placing "-" into separate line?

Greetings,
Jola


Tags
General Discussions
Asked by
Suriya
Top achievements
Rank 1
Answers by
Steve
Telerik team
Jay
Top achievements
Rank 2
Jolanta
Top achievements
Rank 1
Veteran
Share this question
or