Hi. I'm using the following code to view a picture stored as an image data type in a database:
.ContentType = Type
If DownloadFileName <> "" Then
Page.Response.AddHeader("content-disposition", "filename=" & DownloadFileName)
.OutputStream.Write(Data, 0, Length)
This works however my problem is that I want to open this view in a new window. I know that using a hyperlink or linkbutton I can set target = _blank to open a new window but how can I do that with page.response?