Rock.Web.UI.Controls.RockTextBox.OnLoad C# (CSharp) Method

OnLoad() protected method

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( System e ) : void
e System The object that contains the event data.
return void
        protected override void OnLoad( System.EventArgs e )
        {
            base.OnLoad( e );
            if ( this.Page.IsPostBack && this.TextMode == TextBoxMode.Password )
            {
                Password = this.Text;
            }
        }