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, 1619👍, 0💬
Popular Posts:
How To View All Columns in an Existing Table? - Oracle DBA FAQ - Managing Oracle Database Tables If ...
What’ is the sequence in which ASP.NET events are processed ? Following is the sequence in which the...
.NET INTERVIEW QUESTIONS - How to prevent my .NET DLL to be decompiled? By design .NET embeds rich M...
How could Java classes direct program messages to the system console, but error messages, say to a f...
How To Return the Second 5 Rows? - MySQL FAQs - SQL SELECT Statements with JOIN and Subqueries If yo...