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 are the navigation ways between pages available in ASP.NET?
Which method do you use to kill explicitly a users session?
How can we register exception filter globally?
What are the memory-mapped files?
what is Disco?what it will do?
If you want to write your own dot net language, what steps you will you take care?
What is smpte vc-1?
Give an example appropriate use forweb service as opposed to a non-serviced .NET component
What is session authentication?
Can you explain how ASP.NET application life cycle and page life cycle events fire?
Explain repository pattern in asp.net mvc? : asp.net mvc
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)