I would like toI put two textboxes into an update panel so that they when either text changes, the emailtextbox is cleared(purple text below). The code in purple is not happening. The emailtextbox is what a popupextender and radiobuttonlist is applied to. AJAX knows the two texboxes are updating since the radiobuttonlist is updated, but why doesn't the emailtextbox get cleared. The code is in the same place.
Protected Sub lastTextBox_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles lastTextBox.TextChanged
emailTextBox.Text = ""
Dim UP1 As UpdatePanel = CType(FindControl("updatepanel1"), UpdatePanel)
Dim RB1 As RadioButtonList = CType(UP1.FindControl("radiobuttonlist1"), RadioButtonList)
RB1.DataBind()
End Sub
Protected Sub firstTextBox_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles firstTextBox.TextChanged
emailTextBox.Text = ""
Dim UP1 As UpdatePanel = CType(FindControl("updatepanel1"), UpdatePanel)
Dim RB1 As RadioButtonList = CType(UP1.FindControl("radiobuttonlist1"), RadioButtonList)
RB1.DataBind()
End Sub