0

I'm using a fileupload control to upload images. The upload is working but I would like to know how to display the uploaded image. For example,

  1. user uploads file, (already done);
  2. the image is displayed in the page.
2
  • it is not possible to show the image before uploading. you need to use flash or silverlight for that. otherwise you are able to show them after upload on server. Commented Apr 3, 2011 at 13:04
  • i want to show them after the upload not before Commented Apr 3, 2011 at 14:19

1 Answer 1

2

Add an image control in your aspx page, and in the upload button event , add the URL of the image to the Image Control.

You can set the Image control visibility with false in the beginning and in the PostPack set it back to true to view your image.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.