I am creating a Purchase Order PDF at the click of a button using Response.Write.
Response.ContentType = "pdf/application";
Response.AddHeader("content-disposition", "attachment;filename=PurchaseOrder.pdf");
Response.OutputStream.Write(ms.ToArray(), 0, ms.ToArray().Length);
After that, I try to update the screen to show that the order has been raised:
labelReqPOStatus.Text = "PO Raised";
The screen does not get updated. How can I get it to do so?