Suppose you want a certain ASP.NET function executed on
MouseOver over a certain button. Where do you add an event
handler?
Answer Posted / 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 .aspxpage will attach the handler (javascript
function)to the onmouseover event
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
When Cookies are expired in ASP.NET?
What is an imagemap in asp.net?
How can we register exception filter from the action?
Define repository pattern in asp.net mvc? : asp.net mvc
Where is asp.net view state stored?
Where sessions are stored in asp.net?
Difference between overriding and overloading?
Explain security types in asp.net?
Fetch one page value to another page without using state-managment ?
Explain the difference between panel and groupbox classes using .net?
What is the use of service provider?
What is a form tag?
What language does asp.net use?
What is tracing? Where is it used?
What is the meaning of TestApi?