views:

1371

answers:

2

Hi,

I'm AjaxControlToolkit's AsyncFileUpload control to upload files to server. It is placed in an UpdatePanel but when someone uploads a new file, a post back occurs. Why a post back occurs while I've put AsyncFileUpload in UpdatePanel?

I've used sample form here and here.

+1  A: 

File uploading is not supported in an async postback. Please refer to this blog post for the reasons why it doesn't work as well as workarounds for it:

Why don't file uploads work during async postbacks?

Eilon