Also possible if you do this in page load:

Button1.Attributes.Add("onClick", "functionCall();");