Link crashes in Editor after update Telerik version

4 posts, 0 answers
  1. Amrut
    Amrut avatar
    17 posts
    Member since:
    Oct 2011

    Posted 05 Aug 2015 Link to this post

    Hello,


    I have come across a problem with the editor.
    We have recently upgraded the telerik controls from V 2013 to V 2015.2.623.45. 
    After upgrade new version that some functionality are messed up.
    Steps to reproduce the issue

    1 - Add below content HTML mode.
    <html><head> </head><body style="-ms-zoom: 100%;"><a href="http://google.com?q=<input type='button' style='background-color: lime;border:none;padding:2px;'  value='## test ##' onclick='return window.parent.DynamicVariableHandler(this);' data-varname='IyNmaXJzdG5hbWUjIw==' data-index='81' />" target="_blank">Name</a></body></html>

     2 - Back to Design view and link is crashed 

    This scenario is working fine in Telerik  V 2013. However, latest version of telerik does not handle this and link crashes.

    This can easily be reproduced on your demo site as well(IE Browser).

    Refer below link for more idea.

    http://screencast.com/t/VuCKbcL4c0D

    Please Suggest ASAP as it is blocker for us.

     

    Thanks

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1490 posts

    Posted 10 Aug 2015 Link to this post

    Hello Amrut,

    The provided href string doesn't produce a valid HTML and therefore it is expected to not render properly inside the control. You can make a test with the online W3C Validation Tool - https://validator.w3.org/

    Regards,
    Danail Vasilev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Amrut
    Amrut avatar
    17 posts
    Member since:
    Oct 2011

    Posted 10 Aug 2015 in reply to Danail Vasilev Link to this post

    Thank you for your reply.

    its correct that The provided href string doesn't produce a valid HTML but this scenario is working fine in previous version (Telerik  V 2013). However, latest version of telerik does not handle this and link crashes. 

    Please suggest. 

    Thanks.

  5. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1490 posts

    Posted 12 Aug 2015 Link to this post

    Hi Amrut,

    Although it may be possible for such a scenario to work in an older version of the editor it is not on purpose but rather a coincidence. Also it would be hard to track the change which makes the difference in this version because there are too much improvements in the edtior (you can examine the release notes of the controls here - http://www.telerik.com/support/whats-new/aspnet-ajax/release-history).

    That being said and considering the fact that you are using invalid HTML, this is not considered as an issue with the control. Therefore I would suggest that you fix the content of the anchor, in order to make it a valid one.

    Regards,
    Danail Vasilev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top