RadTextBox value breaks AJAX

2 posts, 0 answers
  1. Mihai Dinculescu
    Mihai Dinculescu avatar
    33 posts
    Member since:
    Nov 2009

    Posted 12 Mar 2011 Link to this post

    Hello

    I have a RadTextBox that after it get's populated with "Tuff Stuff™ Sky Blue Rectangular Carpet - 6` x 9`" value breaks future AJAX requests. The error is Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500. 

    Obviously it's that certain value that causes the problem. Using HtmlEncode on it fixes the problem however I'd like to get the text displayed as-in. I also don't need it edited, it's just read-only.

    Any tips?

    Regards
    Mihai
  2. Mihai Dinculescu
    Mihai Dinculescu avatar
    33 posts
    Member since:
    Nov 2009

    Posted 12 Mar 2011 Link to this post

    After further research I discovered that there's no way to display html chars in RadTextBox (just as you can't do it in a regular textbox) so I ended up using a RadEditor and set Enabled="false" style="overflow-y: auto;".
Back to Top