I am using this code to upload an image
and am using the HTMLInputFile Control to do so. The image uploads fine, but when the page redisplays the picture is still the old one, unless I refresh the page then it changes. Do I need to call some type of Dispose() method with the save as code above?
Code:
inpFileUp.PostedFile.SaveAs(path)
and am using the HTMLInputFile Control to do so. The image uploads fine, but when the page redisplays the picture is still the old one, unless I refresh the page then it changes. Do I need to call some type of Dispose() method with the save as code above?