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 |
Difference between Response.Expires and Expires.Absolute ?
1 Answers Accenture, BirlaSoft,
In which form does the dataset store data in it?
3 Answers Verinon Technology Solutions,
Explain the differences between Server-side and Client-side code?
How do you get records number from 5 to 15 from a dataset of 100 records?
Explain the differences between clr & cts?
How we can kill our Session in web farm where there is no any sticky server .And user can not Logout bcoz of that.
What is the full meaning of asp.net?
What is the significance of ASP.NET routing?
How does SQL Server session state works
How can u deifne the benefits and limitation of using Viewstate for state management?
Is it possible to add aspx.vb file in to C# Web Project? If so how can i use the vb file in the C# Web project?
How much data (Max K) can go into a QueryString?
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)