Response.Write and UpdatePanel

前端 未结 4 565
温柔的废话
温柔的废话 2020-12-06 05:51

I generate a vcard that I send to the client using the following code snippet:

Response.AddHeader(\"Content-Disposition\", string.Format(\"attachment; filena         


        
4条回答
  •  太阳男子
    2020-12-06 06:31

    Why don't you consider the use of a separate handler/page to serve the vcard?

    This is maybe the easiest and cleaner way to do that and it doesnt interfere any other (async or not) postback related to the updatepanel.

提交回复
热议问题