控件.Attributes.Add( "事件名", "js方法" ); 给控件注册事件和js方法
contrlname.Attributes.Add( "onfocus", "return fu()" );
onclick就可以啊