Bruce
Bruce

Reputation: 2213

asyncfileupload postback

I am using Asyncfileupload AJAX control, and want to know if there is anyway for me to automatically reload/refresh the current page after the file upload?

The whole thing loads in an iframe so not sure how to do this.

Thanks Behrouz

Upvotes: 1

Views: 1270

Answers (1)

Darin Dimitrov
Darin Dimitrov

Reputation: 1039508

According to the documentation the OnClientUploadComplete callback javascript function will be executed when the file upload completes. So you could register for this event and refresh the current page using window.location.reload();.

Upvotes: 3

Related Questions