Ext.Net.Window.OnBeforeClientInit C# (CSharp) Method

OnBeforeClientInit() private method

private OnBeforeClientInit ( Observable sender ) : void
sender Observable
return void
        protected override void OnBeforeClientInit(Observable sender)
        {
            base.OnBeforeClientInit(sender);

            if (this.LoadMask.ShowMask && !this.AutoLoad.IsDefault)
            {
                // Stomp on Show Listener if adding LoadMask.
                // Required because listener must be wired up during instantiation. 

                string loadMask = "el.loadMask=new Ext.LoadMask(el.body,".ConcatWith(new ClientConfig().Serialize(this.LoadMask), ");");
                
                this.Listeners.Show.Handler = this.Listeners.Show.Handler.EnsureSemiColon().ConcatWith(loadMask);
            }
        }