ASP.NET Uruchom JavaScript na ładowaniu strony

ClientScript.RegisterStartupScript(Page.GetType(), "OnLoad", "test();", true);
Mister_H