Page Event: init (C#)
<%@ Page Language="C#" Debug="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>