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

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

protected OnInit ( EventArgs e ) : void
e System.EventArgs
Результат void
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            if(CssPath.Length == 0)
                CssPath = ResolveClientUrl(ToolkitResourceManager.GetStyleHref(Constants.HtmlEditorAttachedTemplatePopupName, this));

            if(_contentTemplate != null) {
                var c = new Control();
                _contentTemplate.InstantiateIn(c);
                Content.Add(c);
            }
        }