views:

696

answers:

1

Hi ,

i"m using asp.net FileUpload , after user input file he click on save button

in the c# i have this function

 protected void btnUploadImages_Click(object sender, EventArgs e)
    {
     SaveImages(FileUpload1, "", returnAlbumId, out returnPhotoId);
    }

this function save the image from the FileUpload1 so far all work as it"s should

but after the postback when i push the refresh button on the page i"m go to this function again , SaveImages function save the same image again . the FileUpload1 didn't clear after the postback

thanks