Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
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, 1593👍, 0💬
Popular Posts:
How To Analyze Tables with "mysqlcheck"? - MySQL FAQs - Administrator Tools for Managing MySQL Serve...
.NET INTERVIEW QUESTIONS - What is Multi-tasking ? It’s a feature of modern operating systems with w...
What is the significance of Finalize method in .NET? .NET Garbage collector does almost all clean up...
Which is the best place to store ConnectionString in Dot Net Projects? I am about to deploy my first...
What are database triggers? How are the triggers fired? Read this collection of questions and answer...