Aurigma Forums
»
Legacy Products
»
Archive
»
Image Uploader
»
customized buttons for removing files from upload list
Rank: Member
Groups: Member
Joined: 7/20/2006(UTC) Posts: 15
|
Hello, im working with the trial version of Image Uploader 4 and want to use customized Buttons. I've tried a lot, but it don't work to use customized Buttons for "RemoveFromUploadList" and "RemoveAllFromUploadList" in the one pane mode. This methods work only in the three pane mode, although there is mentioned in the documentation, that this methods can be used in all layouts. To use the methods i've just used the following code: Code:<a href="#" onClick="getImageUploader('ImageUploader').RemoveFromUploadList();"><img src="img/btn4.gif" width="117" height="24" border="0"></a>
<a href="#" onClick="getImageUploader('ImageUploader').RemoveAllFromUploadList();"><img src="img/btn5.gif" width="117" height="24" border="0"></a>
The RemoveFromUploadList-method works in the Java-Version. In the ActiveX-Version is working none of the methods. What can i do? best regards M. Haiduk Edited by user Monday, February 18, 2008 6:28:13 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Hello, Thank you for your bug report. We confirm the problem. We will fix it to next update. Right now you can use the following code for workaround: Code:<script type="text/javascript">
function removeFromUploadList(){
var iu = getImageUploader('ImageUploader1');
for (var i = iu.getUploadFileCount(); i >= 1; i--){
if (iu.getUploadFileSelected(i)){
iu.UploadFileRemove(i);
}
}
}
function removeAllFromUploadList(){
var iu = getImageUploader('ImageUploader1');
for (var i = iu.getUploadFileCount(); i >= 1; i--){
iu.UploadFileRemove(i);
}
}
</script>
<a href="#" onclick="removeFromUploadList();">RemoveFromUploadList (Work with workaround)</a>
<a href="#" onclick="removeAllFromUploadList();">RemoveAllFromUploadList (Work with workaround)</a>
Edited by user Monday, February 18, 2008 6:29:35 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Member
Groups: Member
Joined: 7/20/2006(UTC) Posts: 15
|
Thank you very much for your'e help. The workaround works great! best regards :o) M.H.
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Great! :D BTW, we have fixed the problem already. The fix will be available in next stable release. |
Best regards, Fedor Skvortsov
|
|
|
|
Aurigma Forums
»
Legacy Products
»
Archive
»
Image Uploader
»
customized buttons for removing files from upload list
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.