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


Please Help Members By Posting Answers For Below Questions

When Cookies are expired in ASP.NET?

579


What is an imagemap in asp.net?

555


How can we register exception filter from the action?

668


Define repository pattern in asp.net mvc? : asp.net mvc

503


Where is asp.net view state stored?

520






Where sessions are stored in asp.net?

541


Difference between overriding and overloading?

700


Explain security types in asp.net?

543


Fetch one page value to another page without using state-managment ?

535


Explain the difference between panel and groupbox classes using .net?

490


What is the use of service provider?

590


What is a form tag?

511


What language does asp.net use?

562


What is tracing? Where is it used?

555


What is the meaning of TestApi?

637