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
    Admin
    Konstantin Dikov avatar
    1798 posts

    Posted 16 Sep 2014 Link to this post

    Hello,

    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.


    Regards,
    Konstantin Dikov
    Telerik
     

    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. UI for ASP.NET Ajax is Ready for VS 2017
  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":"http://www.telerik.com/forums/input-data-not-valid-for-input-as-script","answerCount":"0","commentCount":"3","author":{"@type":"Person","name":"tuan luu van","image":"http://www.telerik.com/images/avatarimages/ea93dea0-631d-412b-be00-306648ca07051012399_1395183384034727_834055_n.jpg"},"comment":[{"@type":"Answer","@id":"http://www.telerik.com/forums/input-data-not-valid-for-input-as-script#GPF2nJB38Eimir6TBw4Qmg","url":"http://www.telerik.com/forums/input-data-not-valid-for-input-as-script#GPF2nJB38Eimir6TBw4Qmg","dateCreated":"2014-09-11","author":{"@type":"Person","name":"tuan luu van","image":"http://www.telerik.com/images/avatarimages/ea93dea0-631d-412b-be00-306648ca07051012399_1395183384034727_834055_n.jpg"}},{"@type":"Answer","@id":"http://www.telerik.com/forums/input-data-not-valid-for-input-as-script#tB9BqFrL0EqFIkH8ewXgNw","url":"http://www.telerik.com/forums/input-data-not-valid-for-input-as-script#tB9BqFrL0EqFIkH8ewXgNw","dateCreated":"2014-09-16","author":{"@type":"Person","name":"Konstantin Dikov","image":"http://www.telerik.com/images/adminimages/default.gif"}},{"@type":"Answer","@id":"http://www.telerik.com/forums/input-data-not-valid-for-input-as-script#gvFDDHrcD0ulO9TqGTw_UQ","url":"http://www.telerik.com/forums/input-data-not-valid-for-input-as-script#gvFDDHrcD0ulO9TqGTw_UQ","citation":{"@type":"Answer","@id":"http://www.telerik.com/forums/input-data-not-valid-for-input-as-script#tB9BqFrL0EqFIkH8ewXgNw","url":"http://www.telerik.com/forums/input-data-not-valid-for-input-as-script#tB9BqFrL0EqFIkH8ewXgNw"},"dateCreated":"2014-10-06","author":{"@type":"Person","name":"chammua","image":"http://www.telerik.com/images/avatarimages/ee2493e5-33ed-4b35-b6ea-8e50c17f63eelinkin-park-psp-wallpaper.jpg"}}]}