Text Wrap in a Text Box

4 posts, 0 answers
  1. Suriya
    Suriya avatar
    50 posts
    Member since:
    Jan 2009

    Posted 18 Feb 2009 Link to this post

    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

  2. Steve
    Admin
    Steve avatar
    10940 posts

    Posted 19 Feb 2009 Link to this post

    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.
  3. Jay
    Jay avatar
    1 posts
    Member since:
    Jun 2009

    Posted 22 Sep 2009 Link to this post

    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>

     

     

  4. Jolanta
    Jolanta avatar
    34 posts
    Member since:
    Oct 2014

    Posted 15 May Link to this post

    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


Back to Top