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

Notification

Icon
Error

Options
Go to last post Go to first unread
jps26401  
#1 Posted : Tuesday, March 20, 2007 8:38:55 PM(UTC)
jps26401

Rank: Member

Groups: Member
Joined: 3/20/2007(UTC)
Posts: 21

Hello, I have the following problem please: when I show StatusText when Status is ERROR then StatusText has always at the end sign '0'. And this is in IE only. In FireFox is not this problem. Here is my code of function of "Progress" event listener.
Code:
function ImageUploader_Progress(Status, Progress, ValueMax, Value, StatusText) {
    	if (Status == "COMPLETE") {
	    	if (StatusText != "")
	    		alert(StatusText);
		  	//window.location.replace('homepage.htm');
    	}
    	//must be 11 because of IE (??)
    	else if (Status == "ERROR" && (Value == 11 || Value == 4)) {
    		//error from server side
    		if (StatusText == "") {
	    		alert("V průběhu zpracování požadavku se objevila neočekávaná chyba.");
	    	}
    		else {
	    		alert("V průběhu zpracování požadavku se objevila následující chyba:\n" + StatusText);
	    	}
    	}
}
Thank you in advance. PETER

Edited by user Friday, February 22, 2008 2:18:24 AM(UTC)  | Reason: Not specified

George Ulyanov  
#2 Posted : Friday, March 23, 2007 3:08:15 PM(UTC)
George Ulyanov

Rank: Advanced Member

Groups: Member
Joined: 7/26/2006(UTC)
Posts: 203

Hello Peter, I've tried to reproduce this problem but without success. Could you give me the direct link to the page with Image Uploader embedded?

Edited by user Friday, February 22, 2008 2:18:05 AM(UTC)  | Reason: Not specified

Best regards, George Ulyanov
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.