Where do you add an event handler?

 Posted by Poster on 7/1/2008 | Category: ASP.NET Interview questions | Views: 4875
Answer:

It's the Attributes property, the Add function inside that property.

e.g. btnSubmit.Attributes.Add("onMouseOver","someClientCode();")


Source: http://groups.msn.com/MumbaiUserGroup/aspnetfaqs.msnw | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response