Re: AjaxUploader Thumbnail image

  •  12-29-2009, 2:04 PM

    Re: AjaxUploader Thumbnail image

    Dear greyhound,
     

    You can do this in event FileUploaded
     
         <CuteWebUI:UploadAttachments ID="attachment1" runat="server" OnFileUploaded="attachment1_FileUploaded" TempDirectory="~/haha">
            </CuteWebUI:UploadAttachments>

        protected void attachment1_FileUploaded(object sender, UploaderEventArgs args)
        {
             //save upload file to another folder
             //you can change the upload file name here, like args.CopyTo("~/savefolder/"+"myname.jpg");
            args.CopyTo("~/savefolder/"+args.FileName);
             //delete the tem files in folder C:\\Temp
            args.Delete();
        }
     
    Regards,
    Eric
View Complete Thread