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
Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?
How would you turn off cookies on one page of your website?
What do you mean by View State and what is its role?
What is query string in asp.net?
What is microsoft windows sharepoint services?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
What is difference between datalist and gridview?
Can we use MSSql as backend in asp.net...if yes then How.?
what is the difference between response.write() and response.output.write()?
Explain how do you deploy your asp.net application?
How can you access the properties and controls of master pages from content pages?
How can you handle exceptions in asp.net?
What are the advantages of asp.net mvc framework? : asp.net mvc
What are httphandlers and httpmodules and difference between them?
Why would a company use an application service provider?