AjaxControlToolkit.HtmlEditor.Popups.Popup.OnInit C# (CSharp) Метод

OnInit() защищенный Метод

protected OnInit ( EventArgs e ) : void
e System.EventArgs
Результат void
        protected override void OnInit(EventArgs e)
        {
            _rm = new ResourceManager("ScriptResources.BaseScriptsResources", Assembly.GetExecutingAssembly());
            base.OnInit(e);

            if(isDesign) return;

            _iframe = new HtmlGenericControl("iframe");
            _iframe.Attributes.Add("scrolling", "no");
            _iframe.Attributes.Add("marginHeight", "0");
            _iframe.Attributes.Add("marginWidth", "0");
            _iframe.Attributes.Add("frameborder", "0");
            _iframe.Attributes.Add("tabindex", "-1");
            Controls.Add(_iframe);
        }