Suppose you want a certain ASP.NET function executed on
MouseOver overa certain button. Where do you add an event
handler?

Answers were Sorted based on User's Feedback



Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do yo..

Answer / srujana

It?s the Attributesproperty, the Add function inside that
property. So
btnSubmit.Attributes.Add("onMouseOver","someClientCode();")

Is This Answer Correct ?    23 Yes 0 No

Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do yo..

Answer / subhash saini

actully this is depend on which type of function u want to
call on (server side or client side). If one want to call
client side than we have to add attribute, and if wanaa to
call server side function that make that function as a web
method and call that function by ajax.


Might be this help you.

Happy Programming.

Is This Answer Correct ?    9 Yes 0 No

Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do yo..

Answer / kalyan

No it is impossible to do so. it is because servere side
methods can not be called from client side. the only way to
do so is to submit the page.

Is This Answer Correct ?    2 Yes 15 No

Post New Answer

More ASP.NET Interview Questions

How would ASP and ASP.NET applications run at the same time on the same server?

0 Answers   Satyam,


how to create bin folder in asp.net2.0

8 Answers  


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

0 Answers   AlKhaleej, Swatz Oils,


explain ado.net

6 Answers  


How to deploy the Asp.Net Project ?

3 Answers  






how can you bind data from dataset to XML file

2 Answers   LG Soft,


What is AutoPostback?

0 Answers  


Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?

0 Answers  


What is the difference between client-side and server-side validations in ASP.NET?

0 Answers   Sans Pareil IT Services,


What is an assembly? Explain its parts.

0 Answers  


Explain the features that make asp.net more used framework? : asp.net mvc

0 Answers  


What is reflection and disadvantages of reflection ?

2 Answers   CTC, Microsoft,


Categories