<%@ Page Language="VB" AutoEventWireup="false" CodeFile="BrowserHistoryDemo.aspx.vb" Inherits="BrowserHistory" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Browser History</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server" EnableHistory="True">
</asp:ScriptManager>
</div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
What do you think?
<asp:RadioButton ID="rbYes" runat="server" GroupName="Group1"
Text="Yes" />
<asp:RadioButton ID="rbNo" runat="server" GroupName="Group1"
Text="No" />
<asp:RadioButton ID="rbMaybe" runat="server" GroupName="Group1"
Text="Maybe" />
<br />
<br />
Which one do you like?
<br />
<asp:ListBox runat="server" ID="ListBox1">
<asp:ListItem>A</asp:ListItem>
<asp:ListItem>B</asp:ListItem>
<asp:ListItem>C</asp:ListItem>
</asp:ListBox>
<br />
<br />
<asp:Button ID="buttonChoices" runat="server" Text="Register Choices" />
</ContentTemplate>
</asp:UpdatePanel>
</form>
</body>
</html>
Colorized by: CarlosAg.CodeColorizer