Re: FileUpload in ASP.NET Ajax
- From: "George Ter-Saakov" <gt-nsp@xxxxxxxxxxx>
- Date: Fri, 11 Jan 2008 11:42:24 -0500
You can not use fileupload control with AJAX
Update panel is pure JavaScript and it's not possible (due to security) for
JavaScript to grab file from your local hard drive and submit it to the
server.
So you will have to make normal post back to upload a file. Just move it out
of the UpdatePanel or make an
"upload" popup with Dialog extender and IFRAME.
George.
"vital" <vital.maddali@xxxxxxxxx> wrote in message
news:3631f1ba-4cd2-454b-a652-4bf27c064d93@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a User control which has a fileupload control. With the
requirements I placed the user control in a UpdatePanel of ASP.NET
Ajax and the fileupload.postedfile.filename giving error.
I read some articles that Ajax is not compatible with fileupload. I
want to know the solution or workaround for this.
Thanks
.
- References:
- FileUpload in ASP.NET Ajax
- From: vital
- FileUpload in ASP.NET Ajax
- Prev by Date: Re: IIS bug-Concurrent request lock before IHttpModule.AcquireRequ
- Next by Date: Re: Application_End event handler not getting called on developmen
- Previous by thread: Re: FileUpload in ASP.NET Ajax
- Next by thread: Re: Security on page
- Index(es):
Relevant Pages
|