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 |
how to convert from sql2000 numeric to int in asp.net with sqlparameter?
What is the full form of asp.net?
Which @page directive should you create an asynchronous page?
Can we set master page as a start page?
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
what is managed and unmanaged code?
What are the new login controls in asp.net 2.0?
How do you do validations. Whether client-side or server-side validations are better.?
Differentiate between authentication and authorization.
Define cookie.
Define the steps to set up validation control.
What is clickid?