示例#1
0
        // END added code by prs 21nov06

        #endregion

        #region Events
        #endregion

        #region WebControl Overrides

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if (_errorLabelName != null)
            {
                foreach (Control c in Page.Controls)
                {
                    foreach (Control childc in c.Controls)
                    {
                        if (childc.ID == _errorLabelName)
                        {
                            _errorLabel = (Anthem.Label)childc;
                        }
                    }
                }
            }
            Anthem.Manager.Register(this);
        }
示例#2
0
        // END added code by prs 21nov06

        #endregion

        #region Events
        #endregion

        #region WebControl Overrides

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            if (_errorLabelName != null)
            {
                foreach (Control c in Page.Controls)
                {
                    foreach (Control childc in c.Controls)
                    {
                        if (childc.ID == _errorLabelName)
                        {
                            _errorLabel = (Anthem.Label)childc;
                        }
                    }
                }
            }
            Anthem.Manager.Register(this);
        }