Rock.Web.UI.Controls.PhoneNumberBox.CreateChildControls C# (CSharp) Method

CreateChildControls() protected method

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
protected CreateChildControls ( ) : void
return void
        protected override void CreateChildControls()
        {
            base.CreateChildControls();
            Controls.Clear();
            RockControlHelper.CreateChildControls( this, Controls );

            _hfCountryCode = new HiddenField();
            _hfCountryCode.ID = this.ID + "_hfCountryCode";
            Controls.Add( _hfCountryCode );
        }