we are using telerik version "2008.2.826.20" radeditor for one of my project.
It works normal for some of the html fomats. But sometimes there are senarios where on pasting some html in html mode, switch to design mode and then again when tried to switch to Html mode it gives javascript error
Message: 'styleSheet' is null or not an object
Line: 461
Char: 1
Code: 0
URI: http://............/ScriptResource.axd?d=llZhXWl6Cygg2gNOHRv3hQfS9_g_NzcOyPqP5JZNQHJND-oOwSYEBW9js92K5CCKKYPSxJECyJQOoHQRmadliQ2&t=633731249133424980
We tried copying same html in latest radeditor of telerik's site but iwe get same error.
We also tried disabling ConvertToXHtml content filter but that didnt help.
Here is one of the kind of html which we try to paste:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<html><head>
<meta http-equiv="content-language" content="en-us">
<title>Company</title>
</head>
<body >
<div class="mktEditable" id="main_text" ><br>Hello {{First Name:default=Sir/Madam}},<br> <mce:Style><mce:Style> <br>
This is for testing.
<div>
</body>
</html>
When I remove this "<mce:Style><mce:Style>" tag from the html, it works fine.
Can anyone tell me what could be the issue for this? What setting I have to do for getting rid of this?
We aslo want to know whether validation while switching between modes and submitting can be disabled. As stated we tried disabling contentfilters but no use. Tried ContentFilters = "None" also.
Please reply ASAP as this was the complaint from our Clients.
Thanks in advance.
Sups
