Suppose you want a certain ASP.NET function executed on
MouseOver over a certain button. Where do you add an event
handler?
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 |
How to transpose rows into columns and columns into rows in a multi-dimensional array ?
What is a windows service?
What is a server cookie?
What's the difference between Page.RegisterClientScriptBlock and Page.RegisterStartupScript ?
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?
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?
To get the values in two different controls to match which control you use it?
In which event of the page life cycle, is the viewstate available?
Explain the steps to be followed to use passport authentication.
Can two different programming languages be mixed in a single ASMX file?
Difference between viewstate, cache, session