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

Notification

Icon
Error

Options
Go to last post Go to first unread
carlacne9  
#1 Posted : Friday, August 5, 2011 7:57:24 AM(UTC)
carlacne9

Rank: Newbie

Groups: Member
Joined: 1/22/2009(UTC)
Posts: 5

I am looking to get the name of the event to put an event handler in for a situation,

The event(s) I am looking for triggers are:

ADD file to upload pane

REMOVE file from upload pane

Code:

<script type="text/javascript">
    function imagedAdded(){
        ... do stuff here;
    }

    function imagedRemoved(){
        ... do stuff here;
    }
</script>



<?php
    $imageUploader = new ImageUploader("ImageUploader1", 650, 400);

    $imageUploader->addedImageToUpload("imagedAdded");
    $imageUploader->removedImageToUpload("imagedRemoved");
    
    $imageUploader->render();
?>

Are there event triggers for adding/removing files to the upload pane? ? Maybe I am overlooking them in the docs in looking at the names?

We only use the Java control, 6.5.x, last version before the 7.x series (7 is a major code rewrite for us right now), on LAMP servers. Mix of clients users from Linux to win.

I need to do some thing on the page when the user adds/removes an file(image) from the upload pane. Prefer if it can work with other file formats as well as we use the control for non image uploads like PDF and some custom formats...

Thanks for assistance in advance.

Dmitry.Obukhov  
#2 Posted : Sunday, August 7, 2011 9:09:47 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello Carla,

Please use ImageUploader.UploadFileCountChange event for version 6. It is raised when user adds/removes files to/from upload pane.

This link is on topic describing usage UploadFileCountChange event for Image Uploader 7: Uploader.UploadFileCountChange

If you have any additional questions, please feel free to let me know.

Best regards,

Dmitry Obukhov

Technical Support. Aurigma, Inc.

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