Link to home
Create AccountLog in
Avatar of jm76
jm76

asked on

textbox.OnTextChanged doesn't fire

Form 1 updates the txtEndDate.text to "Yes" on Form2.  I want the OnTextChanged event (of Form2) to fire and call the bAdd() Sub but it doesn't.  Any ideas????  Please.

Example code for Form2.....

Sub bAdd_Click(ByVal sender As Object, ByVal e As EventArgs)
            IF txtEndDate.text="Yes" then
                    ....additional code here
           End IF
End Sub


<asp:TextBox ID="txtEndDate"  AutoPostBack="true"  OnTextChanged="bAdd"
                      runat= "server">No</asp:TextBox>
ASKER CERTIFIED SOLUTION
Avatar of liviutudor
liviutudor

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer