System.Web.UI.WebControls Namespace TextBox Class
Occurs when the content of the text box is changed upon server postback.
[ VB ]
Public Event TextChanged As EventHandler
[ C# ]
public event EventHandler TextChanged;
[ C++ ]
public: __event EventHandler* TextChanged;
In [ JScript ], you can handle the events defined by a class, but you cannot define your own.
The method assigned to handle the event is passed an EventArgs object containing data related to the TextChanged event.
For more information about handling events, see Web Forms Events Model.
The following example demonstrates how to specify and code a handler for the TextChanged event.
<asp:textbox id = "strSearch" runat = "server" autopostback
onTextChanged = "getItems" enableviewstate=false />
Show me
TextBox Members