<script type="text/javascript"> function previewImg(path, img) { imgPrev = document.images[img]; imgPrev.src = path; } </script> <asp:FileUpload runat="server" ID="uploadImage" onchange="previewImg(this.value, 'imgPreview');" /> <br /> <asp:Image ID="imgPreview" name="imgPreviewModify" runat="server" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)