Answer: It’s the Attributesproperty, the Add function inside that property. So,
btnSubmit.Attributes.Add("onMouseOver","someClientCode();")
A simple”Javascript:ClientCode();” in the button control of the .aspx
page will attach the handler (javascript function)to the onmouseover event.
Found interesting? Add this to: