open pdf file from

Posted on 2007-08-02
Last Modified: 2013-11-07
I have an infragisitcs webgrid on my page.  This grid has a list of pdf files in it.  When I click on a grid row I would like to open the file automatically.  Does anyone know hwo to open a pdf file in acrobat reader from a web page?
Question by:akobes05
    LVL 8

    Expert Comment

    try to open the pdf directly from the location. that will open in browser
    LVL 3

    Accepted Solution

    add a hyperlink column in your webgrid then place the name of pdf in your querystring, you can now open the file using the querystring to validate the filename.

    DataNavigateUrlField="PDFFileName" DataNavigateUrlFormatString="OpenPDFFile.aspx?filename={0}"

    Author Comment

    I forgot to mention that the .pdf files are on the web server and Acrobat Reader is installed on the client machine.  Is there a way to spawn an instance of acrobat reader on the client machine and open the file from the web server?

    The grid is basically a list of statements taht the client browser can view.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
    Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now