Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 17th, 2005, 09:05 PM
Registered User
 
Join Date: Jan 2005
Location: , , .
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?



Thanks,

Bill
Reply With Quote
  #2 (permalink)  
Old January 18th, 2005, 02:59 AM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,960
Thanks: 79
Thanked 1,559 Times in 1,536 Posts
Default

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.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
Reply


Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
master-detail hhpatek ADO.NET 0 April 3rd, 2008 03: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 07:37 AM
Need Help Master Detail page ollie281 Dreamweaver (all versions) 0 August 7th, 2006 01:35 PM
detail-master pages katie456 Classic ASP Databases 1 June 13th, 2003 05:16 AM



All times are GMT -4. The time now is 08:53 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.