Forums
This topic is locked
detail/pop up window
Posted 13 May 2002 19:40:21
1
has voted
13 May 2002 19:40:21 mike wilkie posted:
I'm trying to pass a record to a detail page in a pop up window, but no matter which record I choose from my master page the first record always appears.can anyone help!
Replies
Replied 13 May 2002 20:31:39
13 May 2002 20:31:39 Matthijs Horsman replied:
Hi Wilkie,
I think you need to specify in the pop-up, which record you want.
You can do that by filtering the recordset on the detail page with url-string UD creates for you if you use the "go to detail page" server behaviour.
If you pass the ID of the record then you can filter the recordset by that id, using some SQL.
Let me know if it works out...
Grrrr
Matthijs
----------------
UD4/WY2K/IIS/ASP-VB
I think you need to specify in the pop-up, which record you want.
You can do that by filtering the recordset on the detail page with url-string UD creates for you if you use the "go to detail page" server behaviour.
If you pass the ID of the record then you can filter the recordset by that id, using some SQL.
Let me know if it works out...
Grrrr
Matthijs
----------------
UD4/WY2K/IIS/ASP-VB
Replied 14 May 2002 02:41:04
14 May 2002 02:41:04 Andrew Watson replied:
The slight difference here is that wilkie wants a pop-up window, so i presume youre using a javascript event for this? well simply add the above said URL string to the pop up URL.
Cheers
:: Son, im Thirty.... ::
Cheers
:: Son, im Thirty.... ::
Replied 14 May 2002 09:51:40
14 May 2002 09:51:40 Julio Taylor replied:
ok, here's what you need to do.
to make life easier, we'll use the UD tools to do this:
1. Create a "Go to detail page" link using the Server Behaviour, and make sure you link it to your target URL.
2. Copy the link that UD creates for you
3. Using the DW function "Open browser window" make a new pop-up window. Post the dymamic link into the "URL" box, and there ya go. Easy as apple pie. links to dynamic pages are usually followed by something like:
'?<?php echo $MM_keepNone.(($MM_keepNone!=""?"&":""."pl_id=".$pl_header->Fields("pl_id" ?>'
you can manipulate the links to do what you please.
i hope it helped
-- J
P.S. i killed kenny
to make life easier, we'll use the UD tools to do this:
1. Create a "Go to detail page" link using the Server Behaviour, and make sure you link it to your target URL.
2. Copy the link that UD creates for you
3. Using the DW function "Open browser window" make a new pop-up window. Post the dymamic link into the "URL" box, and there ya go. Easy as apple pie. links to dynamic pages are usually followed by something like:
'?<?php echo $MM_keepNone.(($MM_keepNone!=""?"&":""."pl_id=".$pl_header->Fields("pl_id" ?>'
you can manipulate the links to do what you please.
i hope it helped
-- J
P.S. i killed kenny