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

What is the use of the tag in the web.config file?

0 Answers   MindCracker,


how to update data using store procedure

1 Answers  


best .net institute in hyderabad

7 Answers  


What are the different types of events are occured when a client requests an ASP.NET page from IIS server?

0 Answers   Sans Pareil IT Services,


What is ashx file in asp.net?

0 Answers  






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

0 Answers  


What is wrong with a line like this? DateTime.Parse(myString)

5 Answers   Metasys,


What r the remotable objects. and how u make an application remotable

1 Answers  


Securitywise What are the Enhancements in 2.0?

0 Answers   Microsoft,


How can you dynamically add user controls to a page?

0 Answers  


What are url fragments?

0 Answers  


What is .net remoting?

0 Answers  


Categories