RegisterClientScriptBlock("mykey", "<script language=javascript> alert('this will show BEFORE Page Controls appear') </script>")
RegisterStartupScript("mykey", "<script language=javascript> alert('this will show AFTER Page Controls appear') </script>")