How to use upload control in update panel?

Posted by Vforvijay under ASP.NET on 7/21/2011 | Points: 10 | Views : 3600 | Status : [Member] | Replies : 4
hi...

i got a problem when i add my upload control inside the update panel...when i click update it show fileupload control has no file..

plz is there any solution to overcome this.......




Responses

Posted by: Poster on: 7/21/2011 [Member] Starter | Points: 25

Up
0
Down
There are many alternative available, why you are going with Update Panel, read this http://www.dotnetfunda.com/articles/article1063-gmail-style-file-upload-in-aspnet-.aspx or http://www.dotnetfunda.com/articles/article981-multiple-files-upload-in-aspnet-and-aspnet-with-jquery-.aspx.

Thanks

Vforvijay, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vforvijay on: 7/21/2011 [Member] Starter | Points: 25

Up
0
Down
hi..i dont want to show post back to user...thats y i used update panel ...but its not working..

Vforvijay, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: RaviRanjanKr on: 7/24/2011 [Member] Starter | Points: 25

Up
0
Down
File Upload Control doesnt work inside an Update Panel due to security reasons and restrictions a browser implies. They dont allow Javascript files to directly access the files in an user's sytem and dont allow to modify or access the details of a file when working with the File Upload Control.
There are a couple of ways to solve this issue, one using Update Panel and Post Back Triggers and the other using Iframes.
have a go there to find both ways to accomplish your task with upload control in update panel
http://geekswithblogs.net/ranganh/archive/2008/04/01/file-upload-in-updatepanel-asp.net-ajax.aspx

Thanks
Ravi Ranjan Kumar
http://raviranjankr.wordpress.com

Vforvijay, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Lalji_mer on: 7/25/2011 [Member] Bronze | Points: 25

Up
0
Down
For FAQ or discuss you can get guide from this link

http://forums.asp.net/t/1119633.aspx/1

LP MER

Vforvijay, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response