Maximum number of files to be uploaded

  •  03-10-2009, 2:10 PM

    Maximum number of files to be uploaded

    Hello
    I am setting

    Uploader1.MultipleFilesUpload = False

     
    I am using manual upload,When i user selects a file using browse, If the user tries to upload a different file I get the maximum files to upload is 1. What I waould like to do is clearthe attachments from the uploader when the browse is clicked again.
    I tried to to cancelalltaks in
     CuteWebUI_AjaxUploader_OnBrowse()
     
    I also tried in the onprerender and init,

    If Uploader1.Items.Count > 0 Then

    Uploader1.DeleteAllAttachments()

    End If
     
    the error message seems to always be fired before.
    How can I allow a different file selction
     
    Thanks
View Complete Thread