FancyPrairie
Programmer
I have 2 text boxes on my page (TextBox1 and TextBox2). In the Page_Load procedure I have the following code:
When I select "Start Debugging" I get the following errors:
However, if I click "Build Page" I don't get any errors. Why won't it build successfully via Debug?
Code:
If (Not Page.IsPostBack) Then
Me.TextBox1.Attributes.Add("onblur", "javascript:CallMe('" & Me.TextBox1.ClientID & "', '" & Me.TextBox2.ClientID & "')")
End If
Code:
error BC30456: 'TextBox1' is not a member of '_Default'
error BC30456: 'TextBox2' is not a member of '_Default'