Page Lifecycle ASP.Net Tutorial

<%@ Page Language="vb" %>

   
      Buffering Output in ASP.NET
      
         Sub Page_Load()
            Response.BufferOutput = False
            Dim i As Integer
            For i = 1 To 50
               If (i > 10 And i < 30) Then 
                  Response.BufferOutput = True
               Else
                  Response.BufferOutput = False
               End If
               System.Threading.Thread.Sleep(500)
               Response.Write(".")
               myMessage.Text &= "."
               'Response.Flush
            Next
            Response.Write("
Done!
")
            myMessage.Text &= "
Done!
"
         End Sub