I have a listview control, on which I have two buttons 1) Wesite 2)Email Me. Note the listview only has the Item and Layout Templates as I will not be editing or inserting.
I have assigned both the controls the CommandName="select" so that they both fire the SelectedIndexChanged event. There I can access the website address and email address held in datakeys.
In the listviews SelectedIndexChanged event I need to work out which control fired the event.
Ie if it was the website button then I will redirect the user to the website...
Code in VB please.