This looks quite challenging and may be impossible to do it the way i want.I have an html Image (img tag) and i want to use an image which i upload from the asp:FileUpload control.I am facing a lot of problems but this is the only way out for me at the moment.I have tried the below :
<img id="target" alt="[Example]" runat="server" />
with code-behind :
target.Src = "~/Images/" + fileName;
Dont worry about filename,it works just fine.The image gets uploaded and works just fine.BUT cropping is disabled since the image is still on the server.So, how can i use an image on client side? any other suggestions?
Can we just give the src of img dynamically by using Eval?