Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ASP.NET GridView control - return to previous page from detail page when paging is active.

Posted on 2011-03-11
1
Medium Priority
?
488 Views
Last Modified: 2012-05-11
I've got a page containing a gridview control with paging.  Each record in the gridview allows the user to view a details page for that record.  When the user is done viewing the details page I need them to return to the previous page which includes returning to the same page of the gridview they were on when they viewed the detail page.  This also includes sorting and filtering and number of records shown per page.

I realize that there are many different situations and ways in which a gridview can be implemented and that I'm not providing too much detail.  I'm interested in knowing the best practice for making something like this happen or a generalized approach.

Any input on this would be greatly appreciated.
0
Comment
Question by:JosephEricDavis
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
foobarr earned 2000 total points
ID: 35112200
Before the user click the details link to open up the details page, what if you stored the current datagrid datasource in session.  

This way when the user goes back to the page you can just load back up the datagrid datasource.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question