예제 #1
0
 protected override void Render(System.Web.UI.HtmlTextWriter writer)
 {
     IterateControls(Controls, _localizedControls, LocalResourceFile);
     RemoveKeyAttribute(_localizedControls);
     AJAX.RemoveScriptManager(this);
     base.Render(writer);
 }
예제 #2
0
 protected override void OnInit(System.EventArgs e)
 {
     if (HttpContext.Current.Request != null && !HttpContext.Current.Request.Url.LocalPath.ToLower().EndsWith("installwizard.aspx"))
     {
         Thread.CurrentThread.CurrentUICulture = PageCulture;
         Thread.CurrentThread.CurrentCulture   = Thread.CurrentThread.CurrentUICulture;
     }
     AJAX.AddScriptManager(this);
     Page.ClientScript.RegisterClientScriptInclude("dnncore", ResolveUrl("~/js/dnncore.js"));
     base.OnInit(e);
 }