Ajax ASP.Net Tutorial

<%@ Page Language="C#" %>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        System.Threading.Thread.Sleep(5000);
    }



    Show UpdateProgress
    
    .progress
    {
        font-family:Arial;
        position: absolute;
        background-color:lightyellow;
        border:solid 2px red;
        padding:5px;
    }
    


    
    

        
        
        
            <%= DateTime.Now.ToString("T") %>
                            id="btnSubmit"
                Text="Submit"
                Runat="server" OnClick="btnSubmit_Click" />
        

        
                    ID="progress1"
            AssociatedUpdatePanelID="up1"
            runat="server">
            
                
                                    id="imgProgress"
                    ImageUrl="~/Images/Progress.gif"
                    Runat="server" />
                    Retrieving content...