This is a migrated thread and some comments may be shown as answers.

Link crashes in Editor after update Telerik version

3 Answers 50 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Amrut
Top achievements
Rank 1
Amrut asked on 05 Aug 2015, 11:20 AM

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

3 Answers, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 10 Aug 2015, 06:45 AM
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
0
Amrut
Top achievements
Rank 1
answered on 10 Aug 2015, 01:23 PM

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.

0
Danail Vasilev
Telerik team
answered on 12 Aug 2015, 08:34 AM
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
Tags
General Discussions
Asked by
Amrut
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Amrut
Top achievements
Rank 1
Share this question
or