TextBox.TextChanged Event

Occurs when the user changes the text of a TextBox.

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in system.web.mobile.dll)

public:
event EventHandler^ TextChanged {
	void add (EventHandler^ value);
	void remove (EventHandler^ value);
}
/** @event */
public void add_TextChanged (EventHandler value)

/** @event */
public void remove_TextChanged (EventHandler value)

In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.

When the user changes the text of a TextBox, this event is not raised immediately. The form must contain a Command to initiate a postback event that raises the TextChanged event.

The following example demonstrates how to use the TextChanged event to change the items in a SelectionList.

No code example is currently available or this language may not be supported.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions

ADD
Show: