VB .Net Question:
Download Questions PDF

Where do you add an event handler?

VB .Net Interview Question
VB .Net Interview Question

Answer:

It's the Attributesproperty, the Add function inside that property.
e.g. btnSubmit.Attributes.Add(""onMouseOver"",""someClientCode();"")

Download VB .Net Interview Questions And Answers PDF

Previous QuestionNext Question
Why is it not a good idea to insert code into InitializeComponent method when working with Visual Studio?What is a delegate, why should you use it and how do you call it ?