Click here to Skip to main content
14,599,112 members
Rate this:
Please Sign up or sign in to vote.
See more:
How to preview image immediatley after selecting image using fileupload controls (or) ajax file upload control which works on IE 8. please help me.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

Set image Field Below to the Upload Control.
and set the Imageurl when you Upload a file

protected void btnUpload_Click(object sender, EventArgs e)
    Image1.ImageUrl = "~/test.jpg";

Baroor 20-May-14 8:57am
i dont want to use any extra buttons, preview should happen immediatley after selecting image.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100