Re: Avoid reload after UploadCompleted

  •  02-18-2014, 10:54 AM

    Re: Avoid reload after UploadCompleted

     Hello,

     

    I can hide the submit button, of course. May be I did not explain myself clearly:

     

    I select a file to upload and press ok.

    The progress bar gets to the end.

    Right now, a postback is automatically fired which creates the queue table. I want to avoid this postback.

     

    I tried this too, but no luck:

    <script type="text/javascript">

    function CuteWebUI_AjaxUploader_OnQueueUI(items)

    {

            return false;
    }

    </script>

     

    Anyway, never mind. I think I'll stick with it as it seems difficult to solve.

     

    ----------------------------------------------------------------------------

     

    I got another problem much harder:

     

    I have already uploaded files, which are stored in a database.

    Users must be able to delete them and also upload new ones at the same time.

    So I use an UploadAttachments control to give users the chance to upload new ones, and at the same time display saved ones using AddCustomAttachment method. I also use SetCustomData upon the control's last item in order to store required info.

     

    1. No file info displayed (Size, Name).

    2. After a new file is uploaded. Somehow old and new items get mixed, and I finish getting saved item's info on new ones.

    3. Where are the Advanced Samples? I can not find them in the Class Library.

    Is what I intend possible?

     

    Thanks so much 

View Complete Thread