Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 23, 2012 01:02 AM by Mark - MSFT
All-Star
31543 Points
6442 Posts
Nov 13, 2012 09:39 AM|LINK
95463 Points
14106 Posts
Nov 13, 2012 09:45 AM|LINK
try like this -
PicUpload.SaveAs(Server.MapPath("~/Pics/") + filename);
Member
3 Points
18 Posts
Nov 15, 2012 07:48 AM|LINK
yup M working in update panel.. is updatepanel causing this.?? if yes then whats the way/
Contributor
7071 Points
435 Posts
Microsoft
Nov 23, 2012 01:02 AM|LINK
This problem is somewhat well documented, the update panel is listed as not working with certain controls.
File upload, and tree view being 2 of the biggies.
IN any case, one solution is available on code project:
http://www.codeproject.com/useritems/simpleajaxupload.asp
if you look around the forums and google, you can read more about the problem if your interested, but the code project solution should get you started.
oned_gk
All-Star
31543 Points
6442 Posts
Re: FileUpload control is not saving file to designated folder inside the application!
Nov 13, 2012 09:39 AM|LINK
ramiramilu
All-Star
95463 Points
14106 Posts
Re: FileUpload control is not saving file to designated folder inside the application!
Nov 13, 2012 09:45 AM|LINK
try like this -
PicUpload.SaveAs(Server.MapPath("~/Pics/") + filename);
JumpStart
ssmashherr
Member
3 Points
18 Posts
Re: FileUpload control is not saving file to designated folder inside the application!
Nov 15, 2012 07:48 AM|LINK
yup M working in update panel.. is updatepanel causing this.?? if yes then whats the way/
Mark - MSFT
Contributor
7071 Points
435 Posts
Microsoft
Re: FileUpload control is not saving file to designated folder inside the application!
Nov 23, 2012 01:02 AM|LINK
This problem is somewhat well documented, the update panel is listed as not working with certain controls.
File upload, and tree view being 2 of the biggies.
IN any case, one solution is available on code project:
http://www.codeproject.com/useritems/simpleajaxupload.asp
if you look around the forums and google, you can read more about the problem if your interested, but the code project solution should get you started.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework