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);
}
}