VBISCOOL2
11-13-2006, 05:56 AM
:confused: Hello
I have just created an ASP.Net application and added a button (btn1) and a label (lbl1) to the form.
Both controls are running as server controls. In the code behind I have
Protected Sub btn1_ServerClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn1.ServerClick
Lbl1.Text = "Hello"
End Sub
Bafflingly absolutely NOTHING is happening. In fact my form isn't responding to any of my events. :huh: I've obviously missed something and it's probably obvious but what am I doing wrong?
Many thanks
I have just created an ASP.Net application and added a button (btn1) and a label (lbl1) to the form.
Both controls are running as server controls. In the code behind I have
Protected Sub btn1_ServerClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn1.ServerClick
Lbl1.Text = "Hello"
End Sub
Bafflingly absolutely NOTHING is happening. In fact my form isn't responding to any of my events. :huh: I've obviously missed something and it's probably obvious but what am I doing wrong?
Many thanks