Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Open .pdf in new window

Thread Tools

Open .pdf in new window

Posts: n/a
Im having problems with opening a .pdf from a .net
webform. The .pdf resides on the server Ive tried using
this following code it opens a second window but the
address is incorrect. for example
location="\\church2k1\Project Manager\Report.pdf"
Dim writepdf As String = "'& loctation & ');"
Response.Write("<script language=javascript>")

when the form opens the address is saying:
of course this isn't right can someone please help me. Im
using VB.NET.. Thanks
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Window.Open get new tab instead of new window in FireFox Javascript 1 02-29-2008 03:06 AM doesn't open new Window in Opera PC HUA Javascript 2 05-19-2004 02:29 AM
Need to open a new browser window, not a new window Gordon ASP General 3 04-16-2004 10:46 PM
Re: open window a new window and retrieve data from it. C# Cheryl ASP .Net 2 11-13-2003 11:07 AM
open window a new window and retrieve data from it. C# Cheryl ASP .Net 2 11-12-2003 05:30 AM