previewing my image

G

Guest

hey all,
i have a file upload control and when i specify a file name to upload, what
would be the easiest way to provide a preview button at this time?

i have the the byteData and i have the directory path to the file (i.e.
c:\test\img.png) but i'm not sure how to get it into an image control.

thanks,
rodchar
 
D

David Wier

Add an image control - then, whenever you choose the file, using the upload
control - also add the filename to the url of the image control
 
G

Guest

the url is a directory path instead of what i'm used to with the virtual
path. i can't get the image to show using the directory path in my csharp
code-behind.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top