Page Trace (C#)
<%@ Page Language="C#" Debug="true" Trace="true" %> <script runat="server"> void Page_Init() { Trace.Write("NOTE - First line of Page_Init"); } </script> <html> <head> <title>Demonstration of Page Events</title> </head> <body> <form runat="server"> <asp:Button id="Button1" runat="server" Text="Submit"></asp:Button> <br /> </form> </body> </html>