Having dynamic javascript on the same page as response.BinaryWrite
- by nilesh
Hi All,
I am display a pdf document on page using response.binarywrite i.e
Response.ClearHeaders()
Response.ClearContent()
Response.ContentType = "application/pdf"
Response.BinaryWrite(result)
need to call some javascript function to open up the print dialog after the pdf is loaded.
is it possible
Please let me know if someone knows how to achieve this ?
regards
Nilesh