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
Explain server control extensibility with reference to asp.net 2.0 ?
How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?
Is it right that ASP.NET Web API has replaced WCF?
What are the features of asp.net mvc?
How many languages are supported by .NET at present time?
What permissions do asp.net applications posses by default?
Describe Segmentation With Paging?
What is the procedure to handle the process request using mhpm events fired? : asp.net mvc
hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.
Is there any alternative to avoid name collisions other then Namespaces?
What is difference between asp state management and asp.net state management?
What are the asp.net security controls?
Why we use content place holder in asp.net?
What is different in .net 1.1 and .net 2.0?
How many types of cookies are there in asp.net?