I have the following in my code behind (vb.net) to render a pdf.
Response.Clear()
Response.ClearContent()
Response.ClearHeaders()
Response.AppendHeader("content-length", objResult.Length.ToString)
Response.AddHeader("Content-Disposition", "attachment")
Response.ContentType ="Application/pdf"
Response.BinaryWrite(objResult)
Response.Flush()
Response.Close()
Me.lblMessage.Visible = True
Me.lblMessage.Text = "SOME TEXT"
This pops up the windows "open or save" dialog box which works the way i want it to although I would like to then take a label on the html page set a value and make it visable. The problem is that the diolog works although I cannot get the label to show. Any thoughts?
j