Problem Enter key data in get_newValue() Textarea

2 posts, 0 answers
  1. chammua
    chammua avatar
    2 posts
    Member since:
    Jul 2014

    Posted 06 Oct 2014 Link to this post

    Hi all!

    I only want compare data from data Original with new value input from control textarea. I have a problem about enter key. So method _get_newValue() generator Enterkey different with method _get_value()???
    Please complain for me about problem!
    Tks all!

    data for _get_value() method:
    ""><script>alert('xss')</script>
    ↵<script>alert('xss')</script>"

    data for _get_newValue() method:
    ""><script>alert('xss')</script>↵↵<script>alert('xss')</script>"


  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 09 Oct 2014 Link to this post

    Hi,

    I tried to replicate the described issue locally, following you scenario but to no avail.
    Find attached a sample runnable application that demonstrates the proper behavior of this implementation and verify what the difference in your case is.

    Regards,
    Maria Ilieva
    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
Back to Top