public override void Destroy() { if (tabs != null) { tabs.Destroy(); } if (toolbar != null) { toolbar.Destroy(); toolbar = null; } if (validator != null) { this.ById("Form").Remove(); validator = null; } if (!isPanel) { element.Dialog().Destroy(); } jQuery.Window.Unbind("." + this.uniqueName); base.Destroy(); }
public override void Destroy() { if (tabs != null) { tabs.Destroy(); } if (toolbar != null) { toolbar.Destroy(); toolbar = null; } if (validator != null) { this.ById("Form").Remove(); validator = null; } if (!isPanel) { element.Dialog().Destroy(); } base.Destroy(); }