OnFileUploaded and OnUploadCompleted firing twice

Last post 12-25-2013, 8:06 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  12-24-2013, 4:14 PM 78660

    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 

  •  12-25-2013, 8:06 AM 78662 in reply to 78660

    Re: OnFileUploaded and OnUploadCompleted firing twice

    Hi djpanda,

     

    Can you post the full error message what you got?

     

    If allow, please create an example page which can reproduce this error and send it to [email protected], so I can reproduce the error and check it directly.

     

    Regards,

     

    Ken 

View as RSS news feed in XML