• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 382
  • Last Modified:

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>
0
jm76
Asked:
jm76
1 Solution
 
liviutudorCommented:
try the onchange event.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now