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,
- user uploads file, (already done);
- the image is displayed in the page.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.