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 content place holder?

0 Answers  


Why is the standalone environment only useful during the development process?

0 Answers  


What is the difference between session and viewstate?

0 Answers  


Explain the code Access Security (CAS) in .net Framework?

0 Answers  


What are custom user controls in asp.net?

0 Answers  






Explain transparent caching with aop?

0 Answers  


What are the differences between primary foreign and unique keys?

0 Answers  


How can we update records in gridview?Is there any appropriate code for it?

0 Answers  


Which namespace is used by ado.net?

0 Answers  


How to you can limit Access to Web API to Specific HTTP Verb?

0 Answers  


Explain one critical mapping?

0 Answers  


What is indexing on asp.net?

0 Answers  


Categories