ti va bene questa forma:

Me.RegisterStartupScript("test", "<script language='javascript'>alert ('Errore contattare il webmaster');</script>")