Give warning after 1 file has been uploaded

Last post 07-03-2013, 4:20 PM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  07-03-2013, 3:24 PM 77647

    Give warning after 1 file has been uploaded

    I am using the uploader in a .net user control and need the capability to issue a warning if someone tries to upload a second file.

    Scenario is:

    They upload one file

    ......something relating to that file happens

    They go to upload a second file.

    Give a warning that if they continue, the first file will be overwritten, but let them continue.

    Where should I try to hook in to this action? I've spent time looking thru your docs and forum and trying things but haven't found the right kind of code.

    Thanks 

  •  07-03-2013, 4:20 PM 77648 in reply to 77647

    Re: Give warning after 1 file has been uploaded

    Hi JudyMay47,

     

    Please try this exmaple http://www.ajaxuploader.com/Demo/multiple-files-upload-control-file-number.aspx. it only allow to upload 3 files. If the user needs to upload the fourth file, then he must remove the old one first. You can achieve your own requirement link this one.

     

    Regards,

     

    Ken 

View as RSS news feed in XML