File uploading in AJAX updatepanel without full postback

后端 未结 6 1750
無奈伤痛
無奈伤痛 2020-11-30 03:01

I have a update panel, in the update panel I have fileupload control and button control, On button click, I need the file that I have upload in the fileupload control in upd

6条回答
  •  一个人的身影
    2020-11-30 03:06

    The problem is with the way the HTML file upload control works, has nothing to do with ASP.net, for the file upload control to work you need a full post of the form data. You can only simulate that your are not doing a full postback, by doing all the operation in a hidden iframe that does the actual uploading

提交回复
热议问题