单击按钮时,我的 Onclick 事件被触发。在 onclick 事件中,我在运行时生成了一些文件,并以下列方式将其呈现给浏览器。但在将它呈现给浏览器之前,我让特定的标签可见。但仍然标签永远不会变得可见。任何想法是什么问题
lblInfoMessage.Visible=true;
Response.ContentType = "text/plain";
Response.AppendHeader("Content-Disposition", "attachment; filename=test.gxml");
doc.Save(Response.OutputStream);
Response.End();