Having dynamic javascript on the same page as response.BinaryWrite
        Posted  
        
            by nilesh
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by nilesh
        
        
        
        Published on 2010-05-27T09:17:50Z
        Indexed on 
            2010/05/27
            9:21 UTC
        
        
        Read the original article
        Hit count: 359
        
vb.net
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
© Stack Overflow or respective owner