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



Suppose you want a certain ASP.NET function executed on MouseOver over a certain button. Where do y..

Answer / 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

More ASP.NET Interview Questions

How to transpose rows into columns and columns into rows in a multi-dimensional array ?

1 Answers   Microsoft,


What is a windows service?

0 Answers  


What is a server cookie?

0 Answers  


What's the difference between Page.RegisterClientScriptBlock and Page.RegisterStartupScript ?

1 Answers  


there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?

1 Answers  


What is web.config. How many web.config files can be allowed to use in an application?

6 Answers   Accenture, HCL, InterGraph, iSoft,


What is reflection and disadvantages of reflection?

6 Answers   Microsoft,


To get the values in two different controls to match which control you use it?

0 Answers   Siebel,


In which event of the page life cycle, is the viewstate available?

0 Answers  


Explain the steps to be followed to use passport authentication.

0 Answers  


Can two different programming languages be mixed in a single ASMX file?

1 Answers   IBM, Patni, Wipro,


Difference between viewstate, cache, session

2 Answers   Mind Tree,


Categories