Multiline RadTextBox wraps in the middle of a word

6 posts, 0 answers
  1. jlj30
    jlj30 avatar
    101 posts
    Member since:
    Jan 2011

    Posted 26 Feb 2014 Link to this post

    Hi,

    See the attached screenshot for an example of the issue.
    We have observed that this occurs in Chrome and Safari on the Mac and Chrome on Windows.
    IE and Firefox (Windows and Mac) appear to be OK.

    I thought this might be related to the use of Resize="Vertical" that we implemented recently, but that doesn't seem to be the case.

    Any suggestions?

    Thanks in advance.

    Jim
  2. Angel Petrov
    Admin
    Angel Petrov avatar
    1006 posts

    Posted 03 Mar 2014 Link to this post

    Hello Jim,

    I tried reproducing the described problem locally but to no avail. Could you please examine the attached test website and tell us what differs in your case? If you could modify it so that the issue can be observed we should be able to quickly determine its root cause.

    Regards,
    Angel Petrov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Paul
    Paul avatar
    4 posts
    Member since:
    Jan 2011

    Posted 18 Mar 2014 in reply to Angel Petrov Link to this post

    The issue happens to be some css that we had in our Master page. Causes problems with Chrome and Safari. Using  Browser specific css to get around the problem.

     .RadInput textarea {
                white-space: pre !important;
            }

    Regards
      Paul
  5. David Eisner
    David Eisner avatar
    16 posts
    Member since:
    Jun 2007

    Posted 25 Jun 2014 in reply to Paul Link to this post

    Hi Paul, we are seeing the exact same problem with regards to word wrapping (not not wrapping actually), could you please let me know either what CSS you found to be causing the problem or what you did exactly to fix it? Thank you in advance. -David
  6. jlj30
    jlj30 avatar
    101 posts
    Member since:
    Jan 2011

    Posted 26 Jun 2014 Link to this post

    Hi David,

    I work with Paul who is on vacation right now.
    I think Paul pointed out what was the cause of the issue in his post (the white-space value).
    What he ended up doing was adding this style to only IE and FireFox pages since it is required to make the Enter key work properly within a multiline textbox for those browsers.
    Don't you just love browser inconsistencie :)

    Jim
  7. David Eisner
    David Eisner avatar
    16 posts
    Member since:
    Jun 2007

    Posted 26 Jun 2014 in reply to jlj30 Link to this post

    Got it, thank you for the reply. David
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017