Click here to Skip to main content
15,917,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to show the image preview in image control after file is browsed using file upload control before saving it to databse or folder in project and is there any way to make remember browsed file in file upload control if page is required post somany times to server?
Posted
Updated 26-Jan-14 6:40am
v2

i think it is not possible.due to security reasons you can not save the path of file browsed once the page is post back. also you can not show preview any image until you save it to your website folder.
 
Share this answer
 
Refer - Image preview before uploading using AsynFileUpload[^].

You can't use JavaScript to browse the FileSystem. So, you can try the above method.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900