Forums
This topic is locked
Recordset Paging Issue
Posted 07 Apr 2005 15:40:00
1
has voted
07 Apr 2005 15:40:00 Daniel Severns posted:
Current state:I have a page with picture thumbnails on it that are populated dynamically. If a user would like to view a larger picture they can click on a link that will open a pop-up window with a larger image. The link from the thumbnail provides the picture ID and the pop-up window has a record set filtered on the ID passed from the thumbnail link. Doing this will display only the picture requested.
------
Thumb <!----Link = /images/view.asp?PID=1
------
Problem:
What I would like to be able to do is, allow users to page to the next picture. However, I cannot use the record set paging feature as only one picture is rendered from the filtered data.
Any assistance would be greatly appreciated!
Dan
--------------------
MtnManDan
<!—I think, therefore I am. I think. - George Carlin
Replies
Replied 07 Apr 2005 16:10:14
07 Apr 2005 16:10:14 Matt Bailey replied:
I use PHP rather than ASP, but I imagine the server behaviours work in the same way. On the dynamic image in your popup window you would apply a repeat region behaviour, but set it to display only 1 image at a time. You will then be able to use recordset paging to display the first, previous, next or last image (or however you want to do it).
Hope that helps.
___________________________________
* Sorry... how do you do that again?... *
Hope that helps.
___________________________________
* Sorry... how do you do that again?... *
Replied 07 Apr 2005 19:01:38
07 Apr 2005 19:01:38 Dave Thomas replied:
dan, let me get home and i'll tell you how to do it m8
regards
Dave Thomas
<b>DMX Zone Manager</b>
regards
Dave Thomas
<b>DMX Zone Manager</b>
Replied 07 Apr 2005 21:01:10
07 Apr 2005 21:01:10 Daniel Severns replied:
<center>Cool beans, I really appreciate that!!
<img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle></center>
--------------------
MtnManDan
<!—I think, therefore I am. I think. - George Carlin
<img src=../images/dmxzone/forum/icon_smile_big.gif border=0 align=middle></center>
--------------------
MtnManDan
<!—I think, therefore I am. I think. - George Carlin
Replied 08 Apr 2005 06:46:44
08 Apr 2005 06:46:44 Dan Berdusco replied:
Hey Dan,
Just incase u r waiting for the answer... I will beat dave to it <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
When u create your recordset on your detail page, don't filter it at all... just select all from the table. Then, under server behaviours, select "Recordset Paging" > "Move to Specific Record". This is where the "filter" will be set. Fill in the dialog box with the recordset and ID that you are filtering by.
Now you can have a "move to next record" behaviour added.
Hope that helps.
Just incase u r waiting for the answer... I will beat dave to it <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
When u create your recordset on your detail page, don't filter it at all... just select all from the table. Then, under server behaviours, select "Recordset Paging" > "Move to Specific Record". This is where the "filter" will be set. Fill in the dialog box with the recordset and ID that you are filtering by.
Now you can have a "move to next record" behaviour added.
Hope that helps.
Replied 08 Apr 2005 10:00:00
08 Apr 2005 10:00:00 Dave Thomas replied:
damn u trevor <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
cheers for helpin out, dude. by the time i got in last night and had the wife hangin off me demanding money etc.. Dan's question went right outta my head.
regards
Dave Thomas
<b>DMX Zone Manager</b>
cheers for helpin out, dude. by the time i got in last night and had the wife hangin off me demanding money etc.. Dan's question went right outta my head.
regards
Dave Thomas
<b>DMX Zone Manager</b>
Replied 08 Apr 2005 15:35:09
08 Apr 2005 15:35:09 Daniel Severns replied:
Thank you gentlemen. I understand the wife situation... I usually have that problem but with no money to give! <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
I have got it sorted thanks to your suggestions!
--------------------
MtnManDan
<!—I think, therefore I am. I think. - George Carlin
I have got it sorted thanks to your suggestions!
--------------------
MtnManDan
<!—I think, therefore I am. I think. - George Carlin