SlickUpload
Welcome Guest Search | Active Topics | Log In | Register

Operation Aborted IE7 Options
jakescott
#1 Posted : Sunday, February 28, 2010 9:13:41 PM
Rank: Newbie

Groups: Registered

Joined: 2/25/2010
Posts: 4
Location: Auckland

Hey just ran into a rather annoying issue with IE7.

I have a page which opens a Lightbox window. This lightbox gets its contents from an ajax request. The content has an iframe within it. The iframe has the slick upload html inside.

So

Page > Lightbox Dialog > IFrame > Slick Upload.

I used an IFrame so that I can test and build the slick upload control on its own. And it works happily in all browsers except our friend IE.

I did some googling and I think the problem has been reported.

http://www.clientcide.com/code-snippets/manipulating-the-dom/ie-and-operation-aborted/

http://blogs.msdn.com/ie/archive/2008/04/23/what-happened-to-operation-aborted.aspx

 

I have mucked around with viewing source, copying the html output and then modifying where the var kw_Component = new Array (...) initialiser script goes. Turns out that if you put it at the very end of the page IE is happy and you dont get bug. Then I noticed the kw._executeInit() and I moved this into a jquery $(document).ready(function(){ kw._executeInit() }); and guess what IE doesn't wig out :) So I think that SlickUpload needs to call the executeInit after the DOM is ready. Have a look at http://api.jquery.com/ready/ to decide when is the best time to executeInit - but I know it works with the jQuery ready.

I'm not really sure what I can do to fix this problem at the moment. I might have to look into When SlickUpload renders this and see if I can override it?

 

 

jakescott
#2 Posted : Sunday, February 28, 2010 9:43:06 PM
Rank: Newbie

Groups: Registered

Joined: 2/25/2010
Posts: 4
Location: Auckland

Hmmm no looks like an internal static class so no way to override :) Haha will look at going back to loading the uploader within ajax.

Axosoft
#3 Posted : Monday, March 01, 2010 9:03:03 AM
Rank: Administration


Groups: Administrators

Joined: 7/7/2005
Posts: 1,586
Location: Scottsdale, AZ

Are you using the latest version of SlickUpload (v5.5)? That had some enhancements around _executeInit to enable dynamic loading scenarios. It now executes in an onload handler (if the page isn't ready when it is called), or immediately (if the page is ready).

If you're already using SlickUpload 5.5, or the upgrade doesn't work, can you send your pages and codebehind to chrish at krystalware dot com? I'll take a look and see if I can reproduce the issue.

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.