previewing my image

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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
 
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.
 
Back
Top