textbox.OnTextChanged doesn't fire

Posted on 2006-03-22
Last Modified: 2012-05-05
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>
Question by:jm76
    1 Comment
    LVL 6

    Accepted Solution

    try the onchange event.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Suggested Solutions

    This is an explanation of a simple data model to help parse a JSON feed
    If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now