The
FileUpload control doesn’t work for uploading image when placed in the Update
Panel. In update panel allow Asynchronous postback since FileUpload control
required full postback to get the image. If you check FileUpload1.HasFile
method or FileUpload1.FileName property then it is null, because the
update panel does not retain the file inside
the FileUpoad control.
Showing posts with label Update Panel. Show all posts
Showing posts with label Update Panel. Show all posts
Monday, 9 March 2015
Posted by Unknown on 02:28
with No comments so far
The
FileUpload control doesn’t work for uploading image when placed in the Update
Panel. In update panel allow Asynchronous postback since FileUpload control
required full postback to get the image. If you check FileUpload1.HasFile
method or FileUpload1.FileName property then it is null, because the
update panel does not retain the file inside
the FileUpoad control.
Subscribe to:
Posts (Atom)