Wrox Programmer Forums
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 31st, 2005, 12:21 PM
Authorized User
Join Date: Jul 2004
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default Back Button

Hi folks

I have a page with datagrid that contains list of projects(1000 projects)also contains paging and sorting features

if we click on any one of the project it goes to the another page that is called detail page it contains the details of the clicked project.

let us say im in the 10th page i clicked a project and edit the detail of the project and i want to come to the 10th page exactly were i was. I have a back button in the toolbar i supposed to use that back button in the detail page to go to the 10th page not to use the browser's back button..

Im struck with these problem

Need help from u people

Quick Response would be appreciated



Old November 11th, 2005, 09:58 AM
Registered User
Join Date: Nov 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

there are few ways to do this. i don't know why you don't want to rely on browser's back button but try this. when you go to other page after clicking the datagrid item link. store the datagrid in viewstate. when the back button on the other page is clicked use the view state to restore the datagrid on the page. that should solve the problem since it save all it's data including the current page and sort element.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Back Button j_rumpa Javascript How-To 8 July 4th, 2007 08:29 AM
Back Button in IE kishor_ys BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 September 4th, 2006 09:05 AM
problem with back button. gurucharan_cs Javascript 1 April 6th, 2005 07:12 AM
Back Button DARSIN General .NET 0 March 1st, 2005 08:00 AM
history.back or hitting the back button won't work lian_a Classic ASP Basics 4 July 29th, 2004 12:14 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.