Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Ublo  
#1 Posted : Tuesday, April 27, 2010 2:09:44 AM(UTC)
Ublo

Rank: Member

Groups: Member
Joined: 7/29/2009(UTC)
Posts: 21

Hello,

Here is my simple JS code to change folder view :

Code:

  function changeView(view){
    var ImageUploader=getImageUploader("MyUploader");
    if (ImageUploader){
      ImageUploader.setFolderView(parseInt(view));
    }
  }


When calling this function like : changeView(0);
I got a javascript error on IE 7 (only, FF is OK) :

Quote:
This object does not handle this property or this method


Any help ?

Thanks

Edited by user Saturday, May 1, 2010 2:34:38 AM(UTC)  | Reason: Not specified

Ublo  
#2 Posted : Tuesday, April 27, 2010 2:33:02 AM(UTC)
Ublo

Rank: Member

Groups: Member
Joined: 7/29/2009(UTC)
Posts: 21

Moreover, the problem seems to be for every function added thanks to "addEventListener" on IE 7.

For example, I added this function :

Code:

iu.addEventListener("AfterUpload", "afterUpload");
...
function afterUpload(html) {
  alert('done');
}


... and no alert is displayed in IE 7 (but it is with FF).

Waiting for help...

Thanks,
Ublo  
#3 Posted : Tuesday, April 27, 2010 2:40:15 AM(UTC)
Ublo

Rank: Member

Groups: Member
Joined: 7/29/2009(UTC)
Posts: 21

Problem "partially" (only for changing folder view) solved by modifying iuembed.js

See : http://forums.aurigma.co...urn-out-of-function.aspx

But still have a problem for calling back "afterUpload" method.
My "alert" is still never display, and I got a message when starting image uploader :

Quote:

"Html" is undefined


Probably due to changes in iuembed.js...

If anyone can help :-)

Edited by user Tuesday, April 27, 2010 3:03:19 AM(UTC)  | Reason: Not specified

Tamila  
#4 Posted : Tuesday, April 27, 2010 3:45:09 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hello,

I just tried to reproduce your problem locally, but everything worked well.
Could you please submit the support case about this problem. In this support case post the link to your page where you experience problem with Image Uploader and login information is necessary. Any additional information will be helpful.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
Ublo  
#5 Posted : Wednesday, April 28, 2010 9:54:20 PM(UTC)
Ublo

Rank: Member

Groups: Member
Joined: 7/29/2009(UTC)
Posts: 21

Thanks, I just submitted a support case with full code snippet.

And also thanks for your wonderful products and your work !

Edited by user Wednesday, April 28, 2010 9:55:09 PM(UTC)  | Reason: Not specified

Tamila  
#6 Posted : Thursday, April 29, 2010 2:47:03 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi,

See my answer in support case.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
Ublo  
#7 Posted : Saturday, May 1, 2010 2:34:05 AM(UTC)
Ublo

Rank: Member

Groups: Member
Joined: 7/29/2009(UTC)
Posts: 21

Wonderful !
So, for everyone else, the problem was that i used JQuery with Image Uploader.
So Tamila found that the following code solved this problem with IE 7 (and all other browsers) :

Code:

$(function(){
  var iu = new ImageUploaderWriter("MyUploader", 800, 400);
  ...// set your Image Uploader Javascript code here

  var html = iu.getHtml();
  document.getElementById("myId").innerHTML = html;

});


Many thanks to you Tamila !

PS : and no need to change iuembed.js !!

Edited by user Monday, June 14, 2010 5:09:48 PM(UTC)  | Reason: Not specified

noname  
#8 Posted : Monday, June 7, 2010 5:25:13 PM(UTC)
noname

Rank: Newbie

Groups: Member
Joined: 6/7/2010(UTC)
Posts: 3

Hi There,

We Have exactly the same problem ... Using JQuery, but we use it with .net usercontrol not JS implementation...

Everything is working perfectly well in FF but it's not the case with Internet Explorer 7 ... We have this error "This object does not handle this property or this method" for ImageUploaderAjax.getUploadFileCount()....

Anybody have a solution for that ?

You can view our implementation here :

http://service.viawebtec...oader.aspx?UserLangue=fr

Thank you !

Tamila  
#9 Posted : Tuesday, June 8, 2010 3:09:38 AM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hello,

Our developers checked your problem. Unfortunately it is a bug with InitComplete event, it cannot call Image Uploader setters and getters. It will be fixed in the next release.

Additionally, we expect a problem with Image Uploader ASP.NET control and jQuery tabs. It seems the current implementation of the control will not work with tabs in Java-enabled browsers. It is not a problem with our ASP.NET control, the issue is caused by Java applet container embedded into jQuery tabs. The only solution is to switch to JavaScript library for Image Uploader (iuembed.js).

Edited by user Tuesday, June 8, 2010 3:44:53 AM(UTC)  | Reason: Not specified

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
andreym  
#10 Posted : Tuesday, June 8, 2010 5:01:41 AM(UTC)
andreym

Rank: Advanced Member

Groups: Member
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
In case you don't want to wait the release, you can use attached iuembed.js script.
With this version of iuembed you should not get the "This object does not handle this property or this method" for ImageUploaderAjax.getUploadFileCount()." error in IE.

Update: Or another option is to move ImageUploaderAjaxIsLoaded = true; code to the ImageUploaderAjax_FullPageLoad function from the ImageUploaderAjax_InitComplete function. It seems it should fix the InitComplete event bug too.

Edited by user Tuesday, June 8, 2010 7:15:23 PM(UTC)  | Reason: Not specified

File Attachment(s):
iuembed.zip (12kb) downloaded 2 time(s).
noname  
#11 Posted : Sunday, June 13, 2010 2:55:16 AM(UTC)
noname

Rank: Newbie

Groups: Member
Joined: 6/7/2010(UTC)
Posts: 3

Hello,

Thank Tamia and Andreym for your answers ... I have remove all jquery related code and replace the IUEmbed.js and everything work perfectly well except that the "Add all button" seem to hide under "Remove" and "Remove All" button under certain conditions ... And I have two IUEmbed.js script load in the page because of the WebRessource.axd of your .net control default load loading ... is there a way to fix this two issues ?

Then I try to add de AjaxControlToolkit TabContainer to replace the Jquery remove tab ... And I get a bunch of new error with FF and IE and nothing is working now ... Is there a easy way to add a kind of tab to avoid these issues ?


--> http://service.viawebtec...oader.aspx?UserLangue=en

When the next release will be available ?

Thank you !


Tamila  
#12 Posted : Monday, June 14, 2010 7:10:46 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi,

Our developers prepared sample project for you (see attachment). I recommend you to use this code in your project.
File Attachment(s):
tabs_sample.zip (2,190kb) downloaded 5 time(s).
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
noname  
#13 Posted : Sunday, June 20, 2010 6:39:00 AM(UTC)
noname

Rank: Newbie

Groups: Member
Joined: 6/7/2010(UTC)
Posts: 3

Hi Tamila,

This time it work perfectly ! Thank you !

Users browsing this topic
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.