Pages

Advertisement

Sunday, October 28, 2007

Suppose you want a certain ASP.NET function executed on MouseOver over a certain button. Where do you add an event handler?

It’s the Attributesproperty, the Add function inside that property. So btnSubmit.Attributes.

Add("onMouseOver","someClientCode();")

No comments: