I am employing a login view on an asp page. This view contains several controls (such as buttons) that under normal circumstances generate events. I have read elsewhere on EE where you can use the following code to modify properties of these object in a login view:
HyperLink MyHyperLink = (HyperLink) LoginView1.FindControl("Hy
MyHyperLink.NavigateUrl = "http://www.msn.com
My problem is that I also need to respond to events for buttons that are under the login view. When I look in the drop down object list in my coding window, the objects aren't there. If I manually create the events handlers, I get the following:
Handles clause requires a WithEvents variable defined in the containing type or one of its base types
How do I code events for these buttons?