dotNet
Saturday, October 22, 2011
ViewState HttpPostedFile
When I was trying to implement the functionality of uploading file I looked into putting HttpPostedFile into ViewState -
FileUpload.PostedAs is a HttpPostedFile
BAD idea. - There is no constructor for HttpPostedFile.
http://stackoverflow.com/questions/1921543/constructor-on-type-system-web-httppostedfile-not-found
SO DO NOT GO THAT PATH!! You can cache the file content. Check the blog
http://icollectionview.blogspot.com/2011/10/file-upload-with-two-different-ways.html
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment