protected override void Render(HtmlTextWriter writer) { RenderHeaderEventArgs ev = new RenderHeaderEventArgs(); OnRenderHeaderIncludes(ev); base.Render(writer); }
protected virtual void OnRenderHeaderIncludes(RenderHeaderEventArgs e) { if (null != RenderHeaderIncludes) { RenderHeaderIncludes(this, e); if (e.Includes.Count > 0) { foreach (string includeLine in e.Includes) { litHeader.Text += includeLine; litHeader.Text += "\n"; } } } }
private void MasterPage_RenderHeaderIncludes(object sender, RenderHeaderEventArgs e) { }