Hi Jerry,
Please, make sure that you correctly update the RadAsyncUpload on ajax calls. When a postback is triggered, no matter async or a normal one, the async upload will trigger its File_Uploaded event if its client state says there are files uploaded. So far so good. However, if after the postback the upload is not updated with the server response, on a subsequent postback (say the one from the combo) he will fire its event one more time. The reason for this is that its client state was not updated during the last postback. To illustrate this I will give you an example. Suppose that we have button that shows Panel. Here is the AjaxManager declaration:
In addition to showing the panel, this postback will fire the async upload event as well. However, since the AsyncUpload is not in the list of updated controls its client state wont be updated. To workaround this the following approach should be used:
Please notice that now the async upload is in the list of updated controls. This will fix the issue that you experience. We will delve into this issue and try to fix the upload in a way that it will now when to save and not to save the files. However, for now, the described approach should be used.
Kind regards,
Genady Sergeev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.