Forcing Page Postback at END of event (while retaining viewstate)

Discussion in 'ASP .Net' started by Earl Teigrob, Aug 11, 2003.

  1. Earl Teigrob

    Earl Teigrob Guest

    I have a page that reads values from an XML file to display to the user. The
    page also has a control panel that allows administrators to update the XML
    file with new values. When an administrator presses the update button in the
    control panel area of the page and the values are written to the XML file, I
    want the page to reload with the new values WHILE RETAINING ANY VIEW STATE
    VALUES. (that are not rewriten by the new XML values)

    I have found 2 ways to reload the page but both of them do not retain view
    state. One is to use a Response.Redirect to the same page and the other is
    write a JavaScript submit to a literal control that is located withing the
    form.

    Thank you for your Help

    Earl
     
    Earl Teigrob, Aug 11, 2003
    #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. Ashish

    Forcing parent page postback

    Ashish, Apr 5, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    6,510
    Steven Cheng[MSFT]
    Apr 8, 2004
  2. John Morgan

    Forcing a page to postback

    John Morgan, Jan 22, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    646
    John Morgan
    Jan 22, 2007
  3. Tim Royal
    Replies:
    2
    Views:
    714
    Tim Royal
    Jan 2, 2008
  4. Michael Horton

    Question regarding forcing a postback event

    Michael Horton, Jun 29, 2003, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    254
    Michael Horton
    Jun 29, 2003
  5. David Bowey
    Replies:
    2
    Views:
    342
    Nick Stansbury
    Apr 5, 2005
  6. Michael Horton

    Question regarding forcing a postback event

    Michael Horton, Jun 29, 2003, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    206
    Michael Horton
    Jun 29, 2003
  7. David Bowey
    Replies:
    2
    Views:
    293
    Nick Stansbury
    Apr 5, 2005
  8. Nikolai Weibull
    Replies:
    7
    Views:
    300
    Daniel Brockman
    Aug 31, 2005
Loading...