This is a migrated thread and some comments may be shown as answers.

ClientFileUploaded fails to fire intermittentantly

1 Answer 68 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 06 Jan 2014, 06:11 PM
Is there a reason - or even a guess as to why ClientFileUpload would fail to fire? ... not exactly randomly but not entirely predictable either. We use AsyncUpload in several other places that work fine but there are two instances I've recently converted from RadUpload that will sometimes fail to fire the ClientFileUploaded event. Sometimes it will work from the second attempt on but sometimes not even that. We use the event to kick an AjaxRequest and Postback to the server for back end handling so if it doesn't fire we don't get the file.

"$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest();"

When the event fails to fire, I see evidence that the file got uploaded to the holding area, the progress area shows and it looks like that much worked OK.

I've tried using Fiddler to see what's wrong but have not picked up any clues there.

Is there anything I could trace or log that might help with the diagnosis? Even a wild guess would be more than I have right now.

Thanks.

1 Answer, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 07 Jan 2014, 04:58 PM
Figured this out. The original control used RadUpload and set the filename into a text box in the ClientFileSelected event. That textbox would postback when the contents changed to poke the server for file processing. When the textbox postback was removed ... it worked.
Tags
AsyncUpload
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Share this question
or