E
Efrain Flores
Hi:
I recently found a problem while trying to display a pdf document on an aspx
webpage. Here is the code that I am using:
With Response
. ClearHeaders()
.Clear()
.Buffer = True
.ContentType = "application/pdf"
If pfForceDownloadDlg Then .AppendHeader("Content-Disposition",
"inline;filename=" & ptFileName)
.WriteFile(ptPath & ptFileName)
.Flush()
.End()
End With
I have verified that the pdf document was generated prior calling this
routine. Is it possible that the folder permissions are affecting the
outcome of the page?
I will appreciate all the help you can give me on this matter.
I recently found a problem while trying to display a pdf document on an aspx
webpage. Here is the code that I am using:
With Response
. ClearHeaders()
.Clear()
.Buffer = True
.ContentType = "application/pdf"
If pfForceDownloadDlg Then .AppendHeader("Content-Disposition",
"inline;filename=" & ptFileName)
.WriteFile(ptPath & ptFileName)
.Flush()
.End()
End With
I have verified that the pdf document was generated prior calling this
routine. Is it possible that the folder permissions are affecting the
outcome of the page?
I will appreciate all the help you can give me on this matter.