<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="WaitIndicator.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>
    
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    
    </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Label ID="lblTime" runat="server" Text="lblTime" Font-Bold="True" 
                Font-Size="12pt"></asp:Label>
            <br />
            <br />
            <asp:Button ID="cmdRefreshTime" runat="server" Font-Bold="True" 
                Font-Size="12pt" Text="Start the Refresh process" 
                onclick="cmdRefreshTime_Click" />
            <br />
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
        AssociatedUpdatePanelID="UpdatePanel1">
      <ProgressTemplate>
        <div style="font-size: large">
            Contacting Server ... <img src="wait.gif" alt="Wait" />        
            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Cancel" 
                Font-Bold="True" Font-Size="12pt" />
        </div>
      </ProgressTemplate>
        
    </asp:UpdateProgress>
    </form>
</body>
</html>
