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

Explain about consistent programming model in the .NET framework?

0 Answers  


Is oauth for authentication or authorization?

0 Answers  


What are user controls?

0 Answers  


Explain the overview of asp.net?

0 Answers  


You have two buttons in web form and i clicked on one of the button, so how do i find which button i've clicked on the form in my page load?

15 Answers   INDUS,


Explain about the .NET framework?

0 Answers  


Why is global asax is used?

0 Answers  


What is asp.net globalization?

0 Answers  


What is the difference between a multi-layer and multi-tier applications?

0 Answers   Microsoft,


benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

0 Answers   HCL,


How to write unmanaged code and how to identify whether the code is managed / unmanaged ?

2 Answers   Accenture, BirlaSoft, Cogtest,


When was asp.net released?

0 Answers  


Categories