Occurs when the content of the text box changes between posts to the server.
Public Event TextChanged As EventHandler
Dim instance As TextBox Dim handler As EventHandler AddHandler instance.TextChanged, handler
public event EventHandler TextChanged
public: virtual event EventHandler^ TextChanged { void add (EventHandler^ value); void remove (EventHandler^ value); }
JScript does not support events.
<asp:TextBox OnTextChanged="EventHandler" />
The TextChanged event is raised when the content of the text box changes between posts to the server.
A TextBox control must persist some values between posts to the server for this event to work correctly. Be sure that view state is enabled for this control.
For more information about handling events, see Consuming Events.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98