Less than (<) in RadTextBox

2 posts, 0 answers
  1. Mike
    Mike avatar
    1 posts
    Member since:
    Feb 2018

    Posted 16 Apr 2019 Link to this post

    Having an issue with trying to handle the < character in a RadTextBox. I didn't want to have to resort to putting a RadEditor on the form as no other formatting is required.

     

    The exception happens on your RadTextbox demo form, as seen in the attachment.

     

    Can this be handled elegantly w/o blowing up the page?

  2. Rumen
    Admin
    Rumen avatar
    14172 posts

    Posted 17 Apr 2019 Link to this post

    Hi Mike,

    This is an ASP.NET form submit validation mechanism so you'll experience the same error even if you replace RadTextBox with a regular asp:TextBox

    A potentially dangerous Request.Form value was detected from the client (TextBox3_ClientState="...ionText":"<span","valueAsStrin...").

    The solution is to:

    Regards,
    Rumen
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top