FileUpload Error: Object reference not set to an instance of an object

I have come across an error of fileUpload where it kept on saying that the fileUpload.FileName is not set to an instance of an object.

After a lot of debugging and testing I realized that AJAX is limited to update panels. Therefore, make sure you do not place the file upload inside an update panel.

FileUpload requires a FULL POSTBACK!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s