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
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 |
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 |
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 |
What is the use of the tag in the web.config file?
how to update data using store procedure
best .net institute in hyderabad
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?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
What is wrong with a line like this? DateTime.Parse(myString)
What r the remotable objects. and how u make an application remotable
Securitywise What are the Enhancements in 2.0?
How can you dynamically add user controls to a page?
What are url fragments?
What is .net remoting?