I would like to call a javascript function from an aspx control. For instance, suppose I had:
You can use the Page.ClientScript.RegisterStartupScript method.