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 167743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:19:46+00:00 2026-05-11T12:19:46+00:00

I have a grid with several thousand rows that can be filtered and sorted.

  • 0

I have a grid with several thousand rows that can be filtered and sorted. On each row you can click a details button, which will bring you a new page with detailed information about the page. Because this is a button, you can’t middle click or right click and open in a new tab. In addition, when clicking back you lose your filters and search results.

To solve this problem, I considered the following: Switch the buttons to links, and when filtering and searching, use get instead of post requests. This way, you could switch to new pages with a right click or middle click, and if you did follow a link normally, back would work properly.

This change was not made however. We were asked add a ‘next result / previous result’ set of buttons on the details page, that would allow you to navigate. While not an elegant solution, it would at least work.

I proposed adding querystring parameters to the details page, that would regenerate the search query based on filter, and allow you to get the next and previous results in code.

A team member took issue with this solution. He believes that it is a waste of server resources to re-query the database. Instead, a solution was proposed to add session variable that included a list of results. You could then use that to navigate.

I took issue with that because you can’t have multiple tabs open without breaking navigation, and new results aren’t appended to the list in real time. Also, if you worried about optimization, session would be the last thing to use since it eats memory and prevents server replication… unless you store the results back in the database.

What’s the best solution?

  • 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. 2026-05-11T12:19:47+00:00Added an answer on May 11, 2026 at 12:19 pm

    Session doesn’t sound like a winner, won’t scale with lots of users.

    Hitting the database repeatedly does seem unnecessary, but it depends on the cost – how many users, how often would they refresh/filter and what is the cost of that query?

    If you do use querystrings you could cache the pages by parameter.

    What about some AJAX code on that button to retrieve details – leave the underlying grid in place and display details in a div/panel or a new window/tab.

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

Sidebar

Related Questions

I have a grid laid out like so; +---------+---------+ | Image | Details |
Suppose I have a grid with some row definitions, and a child control in
Here's the scenario I have a Grid with some TextBlock controls, each in a
I have a Data Grid View inside a control that is displayed in a
I have a data grid that has a checkbox item renderer in a cloumn
I have an ExtJS grid on a web page and I'd like to save
I have a Property Grid in C#, loading up a 'PropertyAdapter' object (a basic
I have two different grid controls on the same form. They share the same
I have a 3 column grid in a window with a GridSplitter on the
I have created a simple grid of divs by left floating them and an

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.