OnFileUploaded and OnUploadCompleted firing twice

  •  12-24-2013, 4:14 PM

    OnFileUploaded and OnUploadCompleted firing twice

    Hi,

     

    I am using the Uploader control as a control in a gridview, i.e., one uploader control for each row. It only allows the user to upload one file per row. The OnFileUploaded event is being triggered correctly initially and I am able to save the file. However, it is firing a second time sometime after the Page_PreRender event during postback, which is generating an error from the database when trying to save the same FileGuid. I tried switching to the OnUploadCompleted event and confirmed there is only one file being uploaded, but it generated the same error. How can I stop this second firing? 

     

    Thanks in advance,

    Jeannine 

View Complete Thread