页首

ASP.NET页面函数执行顺序

ascx 控件属性 :<uc1:TJHContractInvoiceListUc ID="TJHContractInvoiceList1" test="false" runat="server" />
aspx Page_Load
ascx InitControl(在aspx Page_Load 中调用) :

    if (!Page.IsPostBack)
        {
            Response.Write("aspx Page_Load<br/>");
            this.TJHContractInvoiceList1.InitControl();
        }
ascx Page_Load

 

 

 

ascx 控件属性
aspx Page_Load
ascx InitControl
ascx Page_Load

posted @ 2012-03-27 11:20  易筋洗髓  阅读(246)  评论(0编辑  收藏  举报
页脚