Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Forcing Page Postback at END of event (while retaining viewstate)

Reply
Thread Tools

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

 
 
Earl Teigrob
Guest
Posts: n/a
 
      08-11-2003
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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Textbox in Custom Server Control not retaining data after postback Jeremy Jones ASP .Net 4 12-14-2006 11:54 PM
Adding a Dynamic User Control from the Base Page Class (and retaining it on Postback?) David Bowey ASP .Net Building Controls 2 04-05-2005 08:17 AM
Adding a Dynamic User Control from the Base Page Class (and retaining it on Postback?) David Bowey ASP .Net Web Controls 2 04-05-2005 08:17 AM
Question regarding forcing a postback event Michael Horton ASP .Net Building Controls 0 06-29-2003 07:41 AM
Question regarding forcing a postback event Michael Horton ASP .Net Web Controls 0 06-29-2003 07:41 AM



Advertisments