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. 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. Tim Royal
    Replies:
    2
    Views:
    515
    Tim Royal
    Jan 2, 2008
  2. Michael Horton

    Question regarding forcing a postback event

    Michael Horton, Jun 29, 2003, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    154
    Michael Horton
    Jun 29, 2003
  3. David Bowey
    Replies:
    2
    Views:
    224
    Nick Stansbury
    Apr 5, 2005
  4. David Bowey
    Replies:
    2
    Views:
    217
    Nick Stansbury
    Apr 5, 2005
  5. Nikolai Weibull
    Replies:
    7
    Views:
    133
    Daniel Brockman
    Aug 31, 2005
Loading...

Share This Page