Suppose you want a certain ASP.NET function executed on
MouseOver over a certain button. Where do you add an event
handler?
Answer / 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 |
What is the postback property in asp.net?
detail code for sql data connections?
What language is asp.net written in?
Differentiate between client-side and server-side validations in web pages.
How .Net has implemented security for web applications?
About delegates ?
Is it possible to use two versions of assembly at the same time?If possible explain with code?
If cookies is disabled in client browser will session work ?
is it possible to access website from a remote place, without deploying it on web server?
What are early binding and late binding.
Write a code snippet to implement the indentation in json in web api.
What is the difference between managed and unmanaged code? *******