C# – How to upload an image when fileupload control is under updatepanel

asp.netasyncfileuploadcfile uploadupdatepanel

How to upload an image when fileupload is under updatepanel?

I have a button say "upload" inside that update panel.

When I click that button inside the button click event I got the fileupload hasfile=false.
Please suggest if there is any way to upload image file when fileupload control is inside update panel and the button is making asyncpostback.

Thanks in advance.