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

Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

1183


How would you turn off cookies on one page of your website?

948


What do you mean by View State and what is its role?

1096


What is query string in asp.net?

1071


What is microsoft windows sharepoint services?

1079


What are ASP.NET Web Forms? How is this technology different than what is available though ASP?

1664


What is difference between datalist and gridview?

1086


Can we use MSSql as backend in asp.net...if yes then How.?

1045


what is the difference between response.write() and response.output.write()?

1163


Explain how do you deploy your asp.net application?

922


How can you access the properties and controls of master pages from content pages?

1012


How can you handle exceptions in asp.net?

1050


What are the advantages of asp.net mvc framework? : asp.net mvc

1024


What are httphandlers and httpmodules and difference between them?

1007


Why would a company use an application service provider?

936