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
What is the size of Get method and how much data it can store?
What is protected configuration?
Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?
Define web services in asp.net.
What is httpresponse?
Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?
What is the difference between file-based dependency and key-based dependency?
What is ispostback method in asp.net?
What does mvc represent in asp.net? : asp.net mvc
Which platform does Microsoft .NET use for exchanging data between applications?
What is Razor View Engine
Explain difference between dataset and datareader?
How can you access the properties and controls of master pages from content pages?
How can you implement the postback property of an asp.net control?
How you will improve web application performance?