Search code examples
asp.nettextboxtextchanged

ASP.NET TextBox: TextChanged - Clarification needed!


My TextBox doesn't send the TextChanged event when I am typing into it. Shouldn't each new character typed in a TextChanged event? Even when I turn on AutoPostBack, typing in the textbox doesn't do anything. Where do I misunderstand this concept? Thanks.


Solution

  • read the docs... AutoPostBack, TextChanged

    TextChanged: "Occurs when the content of the text box changes between posts to the server." AutoPostBack: "Use the AutoPostBack property to specify whether an automatic postback to the server will occur when the TextBox control loses focus. Pressing the ENTER or the TAB key while in the TextBox control is the most common way to change focus."