Looking to capture PageIndex on a gridview
Posted
by StevieB
on Stack Overflow
See other posts from Stack Overflow
or by StevieB
Published on 2009-11-23T14:32:49Z
Indexed on
2010/04/18
11:03 UTC
Read the original article
Hit count: 396
Hey,
So I have a gridview which lists a bunch of jobs.
On this gridview I have paging enabled, which works fine.
When I hover over the Page Numbers i.e 1,2,3,4,.... the following is displayed
javascript_DoPostBack('C100PlaceHolderGrievew','Page$1')
Now my problem is as follows.
When I click on one of the hyperlinks in this list i go to an edit details page. Once the user clicks on save I redirect the user back to the List page with gridview.
What I would like to implement is that the gridview remembers what page they came from i.e Page 2.
I know i can Use PageIndex to set this but Im not sure how to send across the value of "page" of the gridview so i can this.
© Stack Overflow or respective owner