FileUpload control inside an UpdatePanel without refreshing the whole page?

前端 未结 7 1757
太阳男子
太阳男子 2020-11-30 09:49

According to Microsoft the FileUpload control is not compatible with an AJAX UpdatePanel.

I am aware that a PostBackTrigger can be added to the submit button of the

7条回答
  •  -上瘾入骨i
    2020-11-30 10:46

    The button that is triggering the upload event needs to have UseSubmitBehavior property set to false:

    clsUploadButton.UseSubmitBehavior = False;
    

提交回复
热议问题