Reg: Fileupload image
Hai i have a doubt which is i am using fileupload control to browse the image. Here my scenorio is when i browse the image path the image also displayed along with side without clicking upload button. How can i implement this
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Rakrus106 reputationPosted Feb 7, 2008, 8:46 PM EST
Hi
1.Place a image conatiner[Imagebutton,Div,....] in the form
2.event to be handled is "onchange" of the HtmlInputFile,and place the following for the respective function
document.all["imagecontainerId"].style.backgroundImage="url("+document.all["File1"].value+")";
imagecontainerId:here i considerd it as "div"
sabarish Govindan6 reputationPosted Feb 7, 2008, 9:35 PM EST