Click to See Complete Forum and Search --> : Making Page Content Expire


hoyaabanks
03-18-2005, 09:29 PM
You know that page that you see that once you fill out a form and then press the back button in the browser? It says something like Web Page Content Expired, and it forces you to hit refresh in order to see your populated form once again? How do you do that.

I want to force people to refresh a form when they browse back to it using the back button. This way the form is populated with the most current data, and not the data that it was origionally populated with.

How do I do this?

-Alex

kashif_82
03-20-2005, 02:41 PM
put your forms/subforms in panels... and make visible = false.. then in your page sub load.. do a
If Not Page.IsPostBack Then
'make the first panel.visible = true
End if
and then in each panel, have a button that makes next panel visible and currect panel invisible...If you start losing value from your textboxes in previous panels.. throw them on the page in invisible labels..(its kind of costly though)