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 ispostback method in asp.net?

0 Answers  


what is manifest?

3 Answers   Airtel, Microsoft,


What is a user developed application?

0 Answers  


What are different ASP.NET Web Forms with the technology different from though ASP (1.0-3.0)?

1 Answers   Siebel,


When Cookies are expired in ASP.NET?

0 Answers   Sans Pareil IT Services,






what is CTS?

3 Answers   PrimeLine,


Explain how dot net compiled code will become platform independent?

0 Answers  


Describe the difference between inline and code behind.

5 Answers   Siebel Systems,


What is connection pooling and how to enable and disable connection pooling?

0 Answers  


Difference between HTML control and Web Server Control?

4 Answers  


When during the page processing cycle is ViewState available?

1 Answers  


What are the differnt types of handler in ASP.NET?

0 Answers   Sans Pareil IT Services,


Categories