Back Only to Calling page and with a Refresh ??

Discussion in 'ASP .Net' started by jobs, Oct 25, 2006.

  1. jobs

    jobs Guest

    I have a page where users select from a bunch of gridviews, setting
    session variables and then hit an a New or Edit button which redirects
    them to a formview in edit or insert mode.

    While in that formview page they might do a bunch of postbacks, so the
    back button might not always have the desired affect of taking them
    back to the calling page.

    problem #1, a normal back, will only take them to the page from the
    prior postback, which is likely not the calling page as they desired.
    Any way so that back takes them to the original calling page and not
    all the postbacks from the formview. Or possibly a custom back button
    that takes them to the calling page in the state it was in.
    response.redirect takes them to a new instances of the page with
    viewstate lost.

    problem #2, if and when the do go back to the calling page of
    gridviews, the data on those gridviews might not be valid any more and
    so a refresh is required, any way to refresh a page (without loosing
    viewstate) to get fresh data?

    Thanks!
     
    jobs, Oct 25, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Pkenty
    Replies:
    0
    Views:
    407
    Pkenty
    May 28, 2004
  2. Nishu

    problem with refresh page on back button

    Nishu, Oct 7, 2006, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    129
    Nishu
    Oct 12, 2006
  3. mickey
    Replies:
    1
    Views:
    96
  4. Replies:
    0
    Views:
    98
  5. Bruno

    Back (history.back()) after refresh

    Bruno, May 29, 2006, in forum: Javascript
    Replies:
    2
    Views:
    324
    Bruno Lopes
    May 30, 2006
Loading...

Share This Page