protected override void OnLoad(EventArgs e) { Assert.ArgumentNotNull((object)e, nameof(e)); base.OnLoad(e); if (Context.ClientPage.IsEvent) { return; } if (!Context.ClientPage.IsPostBack) { (new Events.Processors.LoadControl()).Reload(); } this.CurrentMode = this.LinkType ?? string.Empty; this.InitControls(); this.SetModeSpecificControls(); GeneralLinkForm.RegisterScripts(); }