Can you call a Function (rather than a sub) from the OnIndexChanged event of a dropdownlist control. If you can why do i get this error:
BC30408: Method 'Public Function ProdDefList() As System.Collections.ICollection' does not have the same signature as delegate 'Delegate Sub EventHandler(sender As Object, e As System.EventArgs)'.
BC30408: Method 'Public Function ProdDefList() As System.Collections.ICollection' does not have the same signature as delegate 'Delegate Sub EventHandler(sender As Object, e As System.EventArgs)'.