Asp.net 2005 - Webform Not Responding!

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

VBISCOOL2
11-13-2006, 07:02 AM
Problem solved. I was using an 'Input' button, which seems to be different from a regular button. I never notivced that before. I am very new to asp.net 2.0. SOme of the changes are tripping me up. LOL

Thanks

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum