Input data not valid for input as "</script>"

3 posts, 0 answers
  1. tuanlv1
    tuanlv1 avatar
    1 posts
    Member since:
    Aug 2014

    Posted 11 Sep 2014 Link to this post

    Hello everyone!

    I has a problem with input data for radtextbox - What happens when i input text as "</script>" on radtextbox?
    Current i have a error when input data as "</script>". Control Telerik default encode for tags html as: <br/>, <html>, <h1>....???

    Please help me explain when input a data not validate as "</script>".

    Thanks a lot for all help!

  2. Konstantin Dikov
    Konstantin Dikov avatar
    1749 posts

    Posted 16 Sep 2014 Link to this post


    This is a standard error, which is not related to our controls. You could replicate the same error with the following controls as well:
    <asp:TextBox runat="server" ID="TextBox1"></asp:TextBox>
    <asp:Button runat="server" ID="Button1"></asp:Button>

    Detailed information on this matter could be found in the following forum threads:
    Hope this helps.

    Konstantin Dikov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
  4. chammua
    chammua avatar
    2 posts
    Member since:
    Jul 2014

    Posted 06 Oct 2014 in reply to Konstantin Dikov Link to this post

    Tks your help!
    Konstantin Dikov.
    I solved problem by encode input data for control! :)
Back to Top
\"","dateCreated":"2014-09-11","url":"","answerCount":"0","commentCount":"3","author":{"@type":"Person","name":"tuan luu van","image":""},"comment":[{"@type":"Answer","@id":"","url":"","dateCreated":"2014-09-11","author":{"@type":"Person","name":"tuan luu van","image":""}},{"@type":"Answer","@id":"","url":"","dateCreated":"2014-09-16","author":{"@type":"Person","name":"Konstantin Dikov","image":""}},{"@type":"Answer","@id":"","url":"","citation":{"@type":"Answer","@id":"","url":""},"dateCreated":"2014-10-06","author":{"@type":"Person","name":"chammua","image":""}}]}