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 |
|
|
|
|
Rank: Advanced Member
Groups: Administration
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 |
|
|
|
|
Rank: Member
Groups: Member
Joined: 9/6/2005(UTC) Posts: 6
|
i"m using the tag that is why i use the |
|
|
|
|
Rank: Advanced Member
Groups: Administration
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. |
|
|
|
|
Rank: Member
Groups: Member
Joined: 9/6/2005(UTC) Posts: 6
|
|
|
|
|
|
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.