有:
Button1.Attributes("onclick") = "javascript:return confirm('Hello?');"
你可以写在page_load里面。