This is a migrated thread and some comments may be shown as answers.

Return to the correct page in Grid...

1 Answer 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
FISCAL
Top achievements
Rank 1
FISCAL asked on 09 Nov 2010, 01:04 PM
Hi,

Scenario:

 I have got a RadGrid  working perfectly fine. New requirement now - how can I return the user back to the same page number of the grid once the record is updated. For instance, user wants to edit a record which is at Page 3. Clicking on edit button takes user to new page. Once record is updated, I need to return the user to the same grid but not to first page but to the Page 3.


Could someone please hint me how it can be done?

Many thanks

MG

1 Answer, 1 is accepted

Sort by
0
pylacroix
Top achievements
Rank 1
answered on 09 Nov 2010, 05:36 PM
Why don't you use something like this ?

Otherwise, you will need to persists the page number into your edit link or in a cookie, session and when the user is done with the update, pass page number parameter back to your grid and load the appropriate page number.
Tags
Grid
Asked by
FISCAL
Top achievements
Rank 1
Answers by
pylacroix
Top achievements
Rank 1
Share this question
or