Pages

Wednesday, September 15, 2010

AJAX and HTMLInputFile - Patch Found

Hello Friends

I want to let you know one result that I found during my development work may be it saves someone's hours and days work.

I was trying to integrate write a webpart where HTMLInputFile control was inside AJAX Update Panel.

But when I was trying to access file which I have uploaded by HTMLInputFile , It always returns "NULL" as HTMLInputFile.PostedFile.

For try,when I deleted AJAX UpdatePanel and run it works fine. So that is bug/error/patch that we can not use HTMLInputFile under AJAX Update Panel.

Disha Shah

2 comments:

  1. but do u have solution of how to use htmlInputFile with AJAX ?

    Thanks.

    ReplyDelete
  2. Hi Atlaf

    No, right now i do not have that solution. If I find any, I will let you know.

    Thanks
    Disha Shah

    ReplyDelete