Suppose you want a certain ASP.NET function executed on
MouseOver over a certain button. Where do you add an event
handler?



Suppose you want a certain ASP.NET function executed on MouseOver over a certain button. Where do y..

Answer / 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

More ASP.NET Interview Questions

What is the postback property in asp.net?

0 Answers  


detail code for sql data connections?

2 Answers  


What language is asp.net written in?

0 Answers  


Differentiate between client-side and server-side validations in web pages.

0 Answers  


How .Net has implemented security for web applications?

1 Answers  






About delegates ?

7 Answers   TCS,


Is it possible to use two versions of assembly at the same time?If possible explain with code?

3 Answers   Tech Mahindra,


If cookies is disabled in client browser will session work ?

7 Answers   Satyam,


is it possible to access website from a remote place, without deploying it on web server?

1 Answers  


What are early binding and late binding.

0 Answers  


Write a code snippet to implement the indentation in json in web api.

0 Answers  


What is the difference between managed and unmanaged code? *******

2 Answers   Patni,


Categories