Change MultipleFilesUpload on-the-fly

  •  06-30-2011, 8:44 AM

    Change MultipleFilesUpload on-the-fly

    I have an upload control that is contained in a jQuery UI dialog.... users are allowed to upload multiple new files, or change/update one file at a time. So the control starts off allowing multiple files to be uploaded. But if the user wants to update an already existing file, they need to be restricted to only selecting one file.
     
    I  change the MultipleFilesUpload property in this event, CuteWebUI_AjaxUploader_OnBrowse... but the file dialog still allows the user to select multiple files, granted it only processes one of the selected files and ignores the rest. What do I need to do to get the file dialog to only allow the user to select one file at a time?
     
    Do I need to use two different upload controls? Or is a single upload control able to be used on same screen in varying ways?
     
    Thanks in advance!
View Complete Thread