T
Tom wilson
This is the same topic as the thread above, "Dealing with the Back
button". I'm getting nowhere. The closest I've come is a sample left
for me:
<%@ Page Language="vb" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
</head>
<body>
<form runat="server" ID="Form1">
<p>
<asp:TextBox id="TextBox1"
runat="server"></asp:TextBox>
</p>
<p>
<asp:Button id="Button1" runat="server"
Text="Button"></asp:Button>
</p>
</form>
</body>
</html>
1 - Load the page, enter something in the text box.
2 - Hit submit
3 - Click Back
4 - The string you entered remains.
When I put this code, in its entirety, into a new .aspx page and run
it, the textbox is blank after hitting the back button.
Why, and how can I prevent it? (before I go completely insane)
Thanks!
button". I'm getting nowhere. The closest I've come is a sample left
for me:
<%@ Page Language="vb" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
</head>
<body>
<form runat="server" ID="Form1">
<p>
<asp:TextBox id="TextBox1"
runat="server"></asp:TextBox>
</p>
<p>
<asp:Button id="Button1" runat="server"
Text="Button"></asp:Button>
</p>
</form>
</body>
</html>
1 - Load the page, enter something in the text box.
2 - Hit submit
3 - Click Back
4 - The string you entered remains.
When I put this code, in its entirety, into a new .aspx page and run
it, the textbox is blank after hitting the back button.
Why, and how can I prevent it? (before I go completely insane)
Thanks!