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
They mostly asked difference between versions of technologies
How to fetch a data from one table to another table in asp.net ?
What is cached data phone?
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
Describe the events in the life cycle of a web application.
Explain about Automatic resource management?
Explain what is viewstate?
Explain the difference between overriding and overloading?
What are the uses of list view control in Asp.net?
Explain what is an abstract class?
What does asp.net stand for?
What is state management techniques in asp.net?
Where is cookie used in asp.net?
What is postback pixel?
Why cyclomatic complexity is important?