<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!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 runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    <asp:Image ID="Image1" runat="server" ImageUrl="~/lava_lamp.gif" />
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <br />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="12pt" 
                Text="Label"></asp:Label>
            <br />
            <br />
            This time refreshes automatically every 1 second.<br />
            <asp:Button ID="Button1" runat="server" Font-Bold="True" Font-Size="12pt" 
                Text="Refresh Time" />
            <br />
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
        </Triggers>
    </asp:UpdatePanel>
    <asp:Timer ID="Timer1" runat="server" Interval="1000">
    </asp:Timer>
    <br />
    <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="12pt" 
        Text="Label"></asp:Label>
    <br />
    <br />
    <asp:Button ID="Button2" runat="server" Font-Bold="True" Font-Size="12pt" 
        Text="Refresh Time" />
    <br />
    <br />
    </form>
</body>
</html>
