Home Search Member List Faq Register Login  
UltimateEditor
IE Popup Window Error

Thread Starter: atconway   Started: 07-18-2008 9:09 AM   Replies: 6
 Karamasoft Support Forums » General Discussions » UltimateEditor » IE Popup Window Error
 Printable Version    « Previous Thread   Next Thread »
  18 Jul 2008, 9:09 AM
atconway is not online. Last active: 7/22/2008 2:55:53 AM atconway

Top 10 Posts
Joined on 07-16-2008
Posts 6
IE Popup Window Error
I am receiving a 'Windows Internet Explorer' popup error when my asp.net page posts back after I have pasted content into the UltimateEditor.  I had pasted into the editor a news article from the internet that contained pictures.

On post back I receive a really large popup stating: "The script tag registered for type 'Karamasoft.WebControls.UltimateEditor.UltimateEditr' and key 'ctl100$ContentPlaceHolderMyWebProject$WultimateEditer1_Startup_JS' has invalid characters outside of the script tags: <HTML for content ...>

There really isn;t anything odd in the editor other than the text or images.  I have both the following set on my asp.net page too:  EnableEventValidation="false" ValidateRequest="false"

Does anybody have an idea why I would receive this error, and what I could do to fix it?

Thanks!

  
  18 Jul 2008, 3:49 PM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: IE Popup Window Error
Can you reroduce this behavior in our live demo at http://www.karamasoft.com/Samples.aspx?component=UltimateEditor by pasting the same content? If you can, please reply with the content that you paste so that we can try it in our test environment. Thanks.
  
  21 Jul 2008, 9:14 AM
atconway is not online. Last active: 7/22/2008 2:55:53 AM atconway

Top 10 Posts
Joined on 07-16-2008
Posts 6
Re: IE Popup Window Error

Yes, I can post the text in, but in order to reproduce the issue I am having I need to be able to have some sort of 'PostBack' to the server.  In my case I have a button on my .aspx page that does some server side processing.  Once the server side processing completes and the post back is finished, I get the pop-up error.

By the way, any post back event will work.  I have drop down lists on my page that cause a postback, and I get the same pop-up.  My guess is that when the page is re-rendered on the client after the postback, IE7 is throwing this popup error because of all of the HTML in the UltimateEditor or something.

Also, not sure if it matters, but my UltimateEditor is inside an AJAX UpdatePanel.  In additiona, I noticed when I copied the Internet News Article directly to the UltimateEditor, it contained JavaScript; not sure if that throws off the editor either. 

How can I do a server-side postback from your test page link you provided?


  
  21 Jul 2008, 12:14 PM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: IE Popup Window Error
You can do a server-side postback in our samples by clicking on the radio button list at the top of the sample page. For example, go to http://www.karamasoft.com/Samples.aspx?component=UltimateEditor&sample=LineBreaks and choose a different paragraph spacing from the radio button list.

In order to figure out what might be causing the issue, you can start with a blank web page and add UltimateEditor control in it and make sure that it is working. Then, place it inside an UpdatePanel and make sure it is working. Then add Internet News Directory and do your test until you resolve what is causing the problem.

  
  21 Jul 2008, 1:53 PM
atconway is not online. Last active: 7/22/2008 2:55:53 AM atconway

Top 10 Posts
Joined on 07-16-2008
Posts 6
Re: IE Popup Window Error
I was able to recreate the issue in your test link (  http://www.karamasoft.com/Samples.aspx?component=UltimateEditor&sample=LineBreaks); I tried a sample sprots article from http://www.nascar.com/2008/news/headlines/bg/07/20/gateway.recap.cedwards/index.html:

I copied everything from the 1st word 'Edwards' in the title, down to the '(watch video). at the end of the article.  I physically highlighted it, copied it to the clipboard, pasted it to the Editor, and changed the radio button on your link to '10px'.  Try it out; the editor blanks out and everyhting is posted to the bottom of the page.


  
  21 Jul 2008, 4:49 PM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: IE Popup Window Error
It seems that when you copy the page content, it includes the following SCRIPT tag:

<SCRIPT language=JavaScript type=text/javascript>var clickExpire = "-1";</SCRIPT>

The reason you receive the error message is that JavaScript strings cannot have </SCRIPT> tag in it.

We will fix this issue with the version that we are planning to release by the end of this week and will let you know when it is ready for download. Thanks for your feedback.

  
  28 Jul 2008, 12:54 PM
Karamasoft is not online. Last active: 9/2/2010 12:02:18 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 5,325
Re: IE Popup Window Error
Now you can download the latest build with this fix.
  
 Page 1 of 1 (7 items)
Karamasoft Support Forums » General Discussions » UltimateEditor » IE Popup Window Error

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2010 Karamasoft LLC. All rights reserved.