asp.net Webアプリケーションでサイトを作ろうとしたのですが、関数ファイルのダウンロードを実行した後、TextBoxの値を「finish」に設定できず、続行できません。
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { TextBox1.Text = "start"; } }
protected void Button1_Click(object sender, EventArgs e)
{
Response.ContentType = "application/pdf";
Response.AppendHeader("Content-Disposition", "attachment; filename=print_ordre.pdf");
Response.TransmitFile(Server.MapPath("~/print_ordre.pdf"));
//Response.End();
TextBox1.Text = "finish";
}
あなたの助けを待っています...