Wrox Programmer Forums
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 17th, 2005, 09:05 PM
Registered User
Join Date: Jan 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default master/detail

I'm trying to create a master/detail page, with a slight variation.

Rather than have the master page pass a parameter to a detail page and open a record, I just need it to go to a specific directory and open a pdf file.

For example:

Click on the Invoices hyperlink 456123 in the datagrid, this in turn opens the pdf file "\invoices\456123.pdf" in _self fashion.

I can't do this by hand b/c there are many hundreds of files.

I think that this can be done using by clicking on the datagrid, selecting column type, and changing it to hyperlink. There are format string columns in the "Hyperlink Text", and "Linked Page" options, but I'm not sure how to modify them to get the above mentioned behavior.

Does anyone have any suggestions?


Old January 18th, 2005, 02:59 AM
Imar's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

What server side language are you doing this with?

You can take a look at the source that Dreamweaver generated when you changed the column to a hyperlink, and then you can shuffle things around.

You probably need to move the dynamic ID from the QueryString to the actual file reference, and then append PDF.


Imar Spaanjaars
Everyone is unique, except for me.

Similar Threads
Thread Thread Starter Forum Replies Last Post
master-detail hhpatek ADO.NET 0 April 3rd, 2008 02:53 PM
Master Detail Records Amsterdaz ASP.NET 2.0 Basics 4 November 10th, 2007 10:58 AM
Master Detail prasanta2expert Access VBA 1 October 1st, 2007 06:37 AM
Need Help Master Detail page ollie281 Dreamweaver (all versions) 0 August 7th, 2006 12:35 PM
detail-master pages katie456 Classic ASP Databases 1 June 13th, 2003 04:16 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.