Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler?
Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler?
✍: Guest
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.
2014-03-07, 1793👍, 0💬
Popular Posts:
How can we format data inside DataGrid? Use the DataFormatString property.
What is hashing? To hash means to grind up, and that's essentially what hashing is all about. The he...
If locking is not implemented what issues can occur? IFollowing are the problems that occur if you d...
When should the register modifier be used? Does it really help? The register modifier hints to the c...
What is the difference between RegisterClientScriptBloc kand RegisterStartupScript? RegisterClientSc...