Show image preview before uploading it in ASP

1

How can I preview a picture before uploading it with the control?

Something like that, but with ASP.NET control link

    
asked by Danitza Ayala 25.01.2017 в 22:06
source

1 answer

0

It occurs to me that you can use the example to show the image on the client side (as it appears in the example), which always looks great, and then upload it to your server side in ASP. For this you can access the content of the image directly by doing something like document.getElementById("preview") .

    
answered by 26.01.2017 в 13:37