Subject: Back Button
Posted By: abdul_owiusa Post Date: 10/31/2005 11:21:49 AM
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

Cheers,
Abdul

DIFFERENT PEOPLE THINK DIFFERENT WAYS......





Reply By: vkpatil Reply Date: 11/11/2005 8:58:47 AM
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.

<Programerror>Vijay.Patil</Programerror>

Go to topic 36233

Return to index page 438
Return to index page 437
Return to index page 436
Return to index page 435
Return to index page 434
Return to index page 433
Return to index page 432
Return to index page 431
Return to index page 430
Return to index page 429