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.


SO DO NOT GO THAT PATH!! You can cache the file content. Check the blog


No comments:

Post a Comment