Any way to convert an async postback to a full postback incode-behind?

Discussion in 'Microsoft ASP .NET' started by Ed Cayce, Aug 8, 2009.

  1. Ed Cayce

    Ed Cayce Guest

    Here is the deal - I have some controls in an UpdatePanel. Most of
    the time, the code-bhind that responds to these controls will do fine
    wiith an async postback. But in some cases, determined only by what
    happens in code-behind, I need to refresh the entire page and not just
    what is in the Update Panels.

    Any way to do this? I have searched and have not found an answer.
    The only kludge i can think of is to register a stratup script that
    then posts the whole page back - but I don't want to post back twice,
    with all the overhead in entails.

    Server.Transfer to same page loses all the viewstate info.

    help!

    Ed
     
    Ed Cayce, Aug 8, 2009
    #1
    1. Advertisements

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. Ben Miller [msft]

    Re: Code Behind vs. no code behind: error

    Ben Miller [msft], Jun 27, 2003, in forum: Microsoft ASP .NET
    Replies:
    1
    Views:
    607
    Alphonse Giambrone
    Jun 28, 2003
  2. mortb
    Replies:
    3
    Views:
    144
    Patrice
    Nov 10, 2004
  3. Jeremy
    Replies:
    1
    Views:
    2,122
    Nathan Sokalski
    Oct 10, 2007
  4. Replies:
    0
    Views:
    274
  5. Norm

    Redirect during Async Postback causing an error

    Norm, May 2, 2008, in forum: Microsoft ASP .NET
    Replies:
    2
    Views:
    337
    bruce barker
    May 2, 2008
Loading...

Share This Page