Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Suppose you want a certain ASP.NET function executed on
MouseOver over a certain button. Where do you add an event
handler?

Answer Posted / guest

It?s the Attributesproperty,the Add function inside that
property. So
btnSubmit.Attributes.Add("onMouseOver","someClientCode();")A
simple"Javascript:ClientCode();? in the button control of
the .aspxpage will attach the handler (javascript
function)to the onmouseover event

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?

995


Explain model, view and controller represent in an mvc application? : asp.net mvc

888


What do you mean by authentication?

1019


Is react a template engine?

870


Tell me the code snippet to show how we can return 404 errors from HttpError?

1219


What is the mvc framework?

948


What is the difference between page.registerclientscriptblock and page.registerstartupscript?

800


What is the server of asp.net?

1021


What are the benefits of view state?

898


How does a content page differ from a master page?

994


What are the merits and demerits of viewstate?

979


3. What goals do you have in your career?

1813


How do I force the dispose method to be called automatically, as clients can forget to call dispose method?

879


Why does my asp.net file have multiple tag with runat=server?

934


What is a form tag?

839