Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: HTMLEditor - Error loading content that has multi-line javascript in Firefox 3.5/Chrome [24949]

$
0
0
AjaxToolkit ver: 3.0.30930.28736

The FF javascript error console reports the following error:

Error: this.scriptsArray[this.scriptsArray_index] is undefined
Source File: http://localhost/acs/ScriptResource.axd?d=R5wjLxpGSGYo9WB0zhK13VGR3eYO0DsWe7ag9L5pxmlQlLgv-RHwswUeh5laEReb2OynKsPTPsiLCwPxOgWBeN45KmFpf-f5CD0YXRwz5T81&t=ffffffffd2a9b7c7

How to reproduce
1) place a script manager and editor on a new webform.
2) place an asp:button
3) create a onclick event the does the following:
Editor1.Content = "<script>" +Environment.NewLine + "alert('some text in an alert');" + Environment.NewLine + "</script>";

This error occurs in FF 3.5 and chrome. Works fine in IE 8.
Comments: I have the sam problem. Add this attributes on control tag save my ass: InitialCleanUp="false" NoScript="true"

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>