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 difference between Trace and Debug?
Why select Web API?
What is cross page posting? How is it done?
How to check the end of the record in Datareader?
asp.net page is a object or not?
What are asynchronous callbacks ?
6 Answers Accenture, BirlaSoft,
Explain what is an abstract class?
Explain the working of passport authentication.
State management in asp.net ?
How many column in table of sql server?
In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?
How do you specify whether your data should be passed as Query string and Forms (Mainly about POST and GET)