The online help mentions something about using a file upload control within
an ajax panel. Maybe this helps?
"The FileUpload control is designed to be used only in postback scenarios
and not in asynchronous postback scenarios during partial-page rendering.
When you use a FileUpload control inside an UpdatePanel control, the file
must be uploaded by using a control that is a PostBackTrigger object for the
panel. UpdatePanel controls are used to update selected regions of a page
instead of updating the whole page with a postback. For more information,
see UpdatePanel Control Overview and Partial-Page Rendering Overview."
> Ok,
>
[quoted text clipped - 20 lines]
> code behind the button onto a fresh page, with only a FileUpload control
> and a Button, it works perfectly...........
Regan - 13 Mar 2008 06:39 GMT
Hi Paul,
I took your advice and it worked. It wasn't only the update panels; it was
the ScriptManager as well that was causing the problem.
I separated the file upload page and removed the ajax items from it and
all's sane again.
Thanks for your quick response =)
> The online help mentions something about using a file upload control
> within an ajax panel. Maybe this helps?
[quoted text clipped - 31 lines]
>> code behind the button onto a fresh page, with only a FileUpload control
>> and a Button, it works perfectly...........