[RESOLVED] Dispaly image of fileupload control

hi all,

please if could anyone help me in how can I dispaly image on image control after user choose it using fileupload control

Regards

khalid

Hi,

Here is Code and Explaination

Dispaly image of fileupload control


Regards

shabir

There is no proper way of doing this on client side....many browsers have restrictions on this.....and especially without uploading the image....it is not possible to generate clientside preview....it is possible in IE, but not FF....

So what I would suggest is to submit the form asynchronously to server, and then generate the preview....finally when user selects upload, then actually upload the image....

what i mean was....user selects the image...send the image to the server, but dont save it....then display image in the image control using Bitmap....then when user selects upload, then save the image on the server....

Thanks.

1 thoughts on "[RESOLVED] Dispaly image of fileupload control"

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>