VB .Net Question: Download VB .Net PDF

Where do you add an event handler?

Tweet Share WhatsApp

Answer:

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

Download VB .Net PDF Read All 69 VB .Net Questions
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 ?