Ajax ASP.Net Tutorial

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

    public ArrayList _log = new ArrayList();
    void Page_PreInit()
    {
        _log.Add("PreInit " + sm1.IsInAsyncPostBack);
    }
    void Page_Init()
    {
        _log.Add("Init " + sm1.IsInAsyncPostBack);
    }
    void Page_Load()
    {
        _log.Add("Load " + sm1.IsInAsyncPostBack);
    }
    void Page_PreRender()
    {
        _log.Add("PreRender " + sm1.IsInAsyncPostBack);
        // Show Lifecycle log
        bltLog.DataSource = _log;
        bltLog.DataBind();
    }



    Server Lifecycle


    
    

            id="sm1"
        runat="server" />
            id="up1"
        runat="server">
        
                    id="btnLog"
            Text="Show Server Page Lifecycle"
            Runat="server" />
                    id="bltLog"
            Runat="server" />