SharePoint Webpart (not visial webpart) VB.net (2010) I have list box that the user choose an item the click the button. The button will take the selectemitem.text and and create the output. in VB (asp) page that I am converting from this was handled by:
Protected Sub LBaddgrp_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Click_btnadd
in the webpart the "Handles Click_btnadd" it gives error handles clause requires with events variable
So how Do I do this in a webpart? I can't seem to find a example online.