Пример #1
0
 protected override void Render(HtmlTextWriter writer)
 {
     EventCollection.Add(EventSource.Page, "Render");
     base.Render(writer);
 }
Пример #2
0
 protected void Page_PreRenderComplete(object sender, EventArgs e)
 {
     EventCollection.Add(EventSource.Page, "PreRenderComplete");
 }
Пример #3
0
 protected void Page_SaveStateComplete(object sender, EventArgs e)
 {
     EventCollection.Add(EventSource.Page, "SaveStateComplete");
 }
Пример #4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     EventCollection.Add(EventSource.Page, "Load");
 }
Пример #5
0
 protected void Page_Init(object sender, EventArgs e)
 {
     EventCollection.Add(EventSource.Page, "Init");
 }
Пример #6
0
 protected void HandleEvent(object src, ViewCounterEventArgs args)
 {
     EventCollection.Add(EventSource.Page,
                         string.Format("Control - Counter: {0}", args.Counter));
 }
 protected void Application_Start(object sender, EventArgs e)
 {
     EventCollection.Add(EventSource.Application, "Start");
     Application["message"] = "Application Events";
 }
 protected void Application_End(object sender, EventArgs e)
 {
     EventCollection.Add(EventSource.Application, "End");
 }