ClientFileUploaded fails to fire intermittentantly

2 posts, 0 answers
  1. David
    David avatar
    23 posts
    Member since:
    Jun 2013

    Posted 06 Jan 2014 Link to this post

    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.
  2. David
    David avatar
    23 posts
    Member since:
    Jun 2013

    Posted 07 Jan 2014 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top