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 to convert from sql2000 numeric to int in asp.net with sqlparameter?

1 Answers  


What is the full form of asp.net?

0 Answers  


Which @page directive should you create an asynchronous page?

1 Answers  


Can we set master page as a start page?

0 Answers  


Which method do you invoke on the DataAdapter control to load your generated dataset with data?

2 Answers   Siebel Systems,






what is managed and unmanaged code?

4 Answers   Microsoft,


What are the new login controls in asp.net 2.0?

0 Answers  


How do you do validations. Whether client-side or server-side validations are better.?

5 Answers   Microsoft,


Differentiate between authentication and authorization.

0 Answers  


Define cookie.

0 Answers  


Define the steps to set up validation control.

0 Answers  


What is clickid?

0 Answers  


Categories