Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 414409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T18:16:48+00:00 2026-05-12T18:16:48+00:00

Need help with technical-designing of a website. I have a main page with a

  • 0

Need help with technical-designing of a website.
I have a main page with a multi-paged grid.
Whenever you press on a row, you navigate to an extended details page about this row.

Here comes my question, I want to be able inside the details page to add “Next” and “Prev” buttons according to the original grid. (Mind you, the grid can be filtered and ordered in various ways).

How would you approach this scenario?

Update:
We can not work with Session variables since there are scenarios where user moves from a grid, to a details page and then to another grid, and so on…
So saving last dataSet in a session varible will be useless.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T18:16:48+00:00Added an answer on May 12, 2026 at 6:16 pm

    You need to create some state to manage your UI workflow. When you display the grid, it is bound to some collection of data. That collection is likely sorted and filtered. Since you will need to reference that data set as part of a larger workflow, you need to either keep the whole (sorted and filtered) collection around (if it is small enough), or keep the criteria that will let you re-query for it (if it is large) in your users session. When you select a row and redirect to the detail page, pass in the selected record in the query string.

    Combining the current record from the query string, and the data or criteria stored in the session, you should be able to retrieve the “next” or “previous” record in tandem with what the original data grid displayed. If the user selects Next or Previous, the only requirement would be redirecting to the same page with a different value in the query string for the current record. Since the rest of the criteria or data is in the session, paging through detail pages should be trivial.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Need help with a query that I wrote: I have three tables Company id
need help/guide for sql select query, I have 2 table stock and stock_history, in
need help regarding USSD Gateway. I have to develop an app, which will directly
need help in error in database pivot. i have table tamed table_score like below:
I need help with one ajax function This is raw page setup. Page will
Little help need with jquery sortable. I have a nested list like so: <div
Need help figuring this out. I have two tables user ---- name skills (comma
Need help parsing... In my code, I have a method that returns url.getHost();. But
I need some help to describe, in technical words, why a 64-bit application prompts
Need help, function getFamily() { FB.api('/me/family', function(response) { alert(JSON.stringify(response)); }); } With the above

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.