Take the 2-minute tour ×

I am using a FileUploader in webform to upload an image.What i want to do is as the image is browsed through FileUploader and selected, it should be displayed in the ImageControl as preview so that it can be further saved into DataBase.

share|improve this question
If you plan on supporting only modern browsers, you can use the HTML 5 File API. –  tomasmcguinness Jan 19 '13 at 8:06
I am doing it in Asp.Net] –  user1947927 Jan 19 '13 at 8:08
@ tomasmcguinness how to use that html5 api –  Himanshu Jan 22 '13 at 12:06
add comment

1 Answer

up vote 1 down vote accepted

You will need to use some sort of Ajax, Jquery or flash control that can access the file system and show a thumbnail of the selected file. What you want is not possible otherwise, without uploading the file to the server first.

One more method is u can use external tools like PicZard or Rad Controls for Asp.Net/Ajax These Tools are very useful and will meet your requirements.

share|improve this answer
add comment

Your Answer


