Suppose you want a certain ASP.NET function executed on
MouseOver over a certain button. Where do you add an event
handler?
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 |
What is content place holder?
Why is the standalone environment only useful during the development process?
What is the difference between session and viewstate?
Explain the code Access Security (CAS) in .net Framework?
What are custom user controls in asp.net?
Explain transparent caching with aop?
What are the differences between primary foreign and unique keys?
How can we update records in gridview?Is there any appropriate code for it?
Which namespace is used by ado.net?
How to you can limit Access to Web API to Specific HTTP Verb?
Explain one critical mapping?
What is indexing on asp.net?