Exemplo n.º 1
0
 protected override void OnPreRender(EventArgs e)
 {
     if (Inject)
     {
         ServiceLocatorManager.Current.Inject(this);
     }
     if (Include == null)
     {
         throw new ArgumentNullException("Include");
     }
     base.OnPreRender(e);
     // include
     if (ClientScriptManager != null)
     {
         ClientScriptManager.EnsureItem <HtmlHead>(ID, () => new IncludeClientScriptItem(GetIncludeUriString()));
     }
 }