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


Please Help Members By Posting Answers For Below Questions

Explain how to prepare culture-specific formatting in .net.

525


What is slidemaster?

460


How can we create a website?

529


Define secured sockets layer.

533


Explain about asp.net caching?

570






Whats the difference between registerclientscriptblock, registerclientscriptinclude and registerclientscriptresource?

577


Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc

546


What does passport and windows authentication mean in ASP.NET?

643


Can I stream live content/events?

572


What is the maximum amount of memory any single process on windows can address?

525


How to you can limit Access to Web API to Specific HTTP Verb?

656


What is difference between view and partial view?

501


How do you do Client-side validation in .Net?

569


What is server side session?

514


Explain parts of assembly?

549