FileUpload control inside an UpdatePanel without refreshing the whole page?

前端 未结 7 1664
太阳男子
太阳男子 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条回答
  • 2020-11-30 10:46

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

    clsUploadButton.UseSubmitBehavior = False;
    
    0 讨论(0)
提交回复
热议问题