gracefully move from details page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,

ok i'm on a datagrid (that has paging turned on) and i select a record which
takes me to a details aspx page. when i click close on the details page how
do i get back to the correct page index i left from?

does anyone have any ideas or article references ?

thanks,
rodchar
 
the CurrentPageIndex property of the DataGrid let you get and set the
current page. get the value of the CurrentPageIndex before you jump to
the new page. then set the value of CurrentPageIndex to what is was
when the page get reloaded.
 
do you mean pass it to the new page thru query string and then pass it back
to datagrid page thru the query string?
 
Yes, or you can store it in a session variable.

do you mean pass it to the new page thru query string and then pass it back
to datagrid page thru the query string?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

is this a problem... 1
2 DataGrids & Paging 2
map on my web page 4
moving listbox items 2
printing my web page 1
sync issue 2
is this possible... 1
status page design 1

Back
Top