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.