openning files in another browser page/tab
        Posted  
        
            by CoffeeCode
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by CoffeeCode
        
        
        
        Published on 2010-03-22T16:57:06Z
        Indexed on 
            2010/03/22
            17:11 UTC
        
        
        Read the original article
        Hit count: 1692
        
i have an action that return a file content. i added:
Response.AddHeader("Content-Disposition", "attactment; filename:\"" + survey.File + "\"");
so that the image would be opened in another tab/page, gets opened in the current tab/page.
 whats wrong with the header?
© Stack Overflow or respective owner