Пример #1
0
    protected override void Render(HtmlTextWriter writer)
    {
        RenderHeaderEventArgs ev = new RenderHeaderEventArgs();

        OnRenderHeaderIncludes(ev);

        base.Render(writer);
    }
Пример #2
0
    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";
                }
            }
        }
    }
Пример #3
0
 private void MasterPage_RenderHeaderIncludes(object sender, RenderHeaderEventArgs e)
 {
 }