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

Notification

Icon
Error

Options
Go to last post Go to first unread
ofer  
#1 Posted : Wednesday, September 21, 2005 12:22:47 AM(UTC)
ofer

Rank: Member

Groups: Member
Joined: 9/6/2005(UTC)
Posts: 6

i"m having a problem with the java code. i"m using :
Code:
<script for="ImageUploader" event="Progress(Status, Progress, ValueMax, Value, StatusText)">
			alert(Status);
			if (Status=="COMPLETE")
				window.location.replace('UploadImagesForMac.aspx');
		</script>
this code works fine for the active x version and after the upload the page is reload and the user can see the error message . in the java version i dont get any the alert(Status) and the page is not reloading . can someone help its urgent .

Edited by user Tuesday, February 26, 2008 2:22:34 AM(UTC)  | Reason: Not specified

ofer
Alex Makhov  
#2 Posted : Wednesday, September 21, 2005 12:10:18 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello, You have to insert the following string to your code:
Code:
iu.addEventListener("Progress", "ImageUploader_Progress");
You could read about the Progress Event here.

Edited by user Tuesday, February 26, 2008 2:23:00 AM(UTC)  | Reason: Not specified

Sincerely yours, Alex Makhov UserPostedImage Follow Aurigma on Twitter!
ofer  
#3 Posted : Wednesday, September 21, 2005 7:37:53 PM(UTC)
ofer

Rank: Member

Groups: Member
Joined: 9/6/2005(UTC)
Posts: 6

i"m using the tag that is why i use the
ofer
Alex Makhov  
#4 Posted : Wednesday, September 21, 2005 7:46:09 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello, You have to set ProgressListener property value to "Progress" then. Image Uploader for Java needs this property to be set to fire the Progress event.
Sincerely yours, Alex Makhov UserPostedImage Follow Aurigma on Twitter!
ofer  
#5 Posted : Wednesday, September 21, 2005 7:49:29 PM(UTC)
ofer

Rank: Member

Groups: Member
Joined: 9/6/2005(UTC)
Posts: 6

thanks it helped
ofer
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.