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

[Solved] iecleananchorsfilter error in Iframe + full screen edit

1 Answer 128 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Alex Lawson
Top achievements
Rank 1
Alex Lawson asked on 16 Apr 2009, 11:07 AM

Interesting issue here, I am attempting to create a full screen option for the text editor in a Dotnetnuke website.  To do this I am adding a toolbar button which initiates a radwindow using the following:

JS

Telerik.Web.UI.Editor.CommandList["txtProductionNotes"] = function(commandName, editor, args) 
  var text = $find("<%= txtProductionNotes.ClientID %>").get_html(); 
  var oWnd = window.radopen(GetRoot() + "/DesktopModules/JCSMisc/ViewNotes.aspx?Text=" + text, ""); 
  oWnd.Argument = "ViewNotes:" + commandName; 
  oWnd.Maximize(); 

The user updates the text, it gets appended to the parameter, closes the window and traps the postback via AJAX as follows:

JS

function OnClientClose(radWindow) 
{    
  __doPostBack("<%= this.UniqueID %>", radWindow.Argument); 

C#

RadEditor objText = (RadEditor)this.FindControl(strControl); 
if (objText.Enabled == true
  objText.Content = strText; 

All is fine and dandy when calling from a RadWindow, however when I embed the aspx in an iframe the postback causes the following error 'Error while executing IECleanAnchorsFilter - RegExExpError: Unexpected quantifier', this seems to occur after the postback has completed...

Sorry for the verbose explanation, I thought it might be useful to other readers.  Any ideas on how to fix\repress this error?  btw this error only occurs in IE 7\8.

1 Answer, 1 is accepted

Sort by
0
Alex Lawson
Top achievements
Rank 1
answered on 16 Apr 2009, 04:14 PM
Found a solution, upgraded to the latest version and moved div\iframe outside of radpanel.
Tags
Editor
Asked by
Alex Lawson
Top achievements
Rank 1
Answers by
Alex Lawson
Top achievements
Rank 1
Share this question
or