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 how to prepare culture-specific formatting in .net.
What is slidemaster?
How can we create a website?
Define secured sockets layer.
Explain about asp.net caching?
Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
What does passport and windows authentication mean in ASP.NET?
Can I stream live content/events?
What is the maximum amount of memory any single process on windows can address?
How to you can limit Access to Web API to Specific HTTP Verb?
What is difference between view and partial view?
How do you do Client-side validation in .Net?
What is server side session?
Explain parts of assembly?