asp.net.ph

TextBox.TextChanged Event

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.

Event Data

The method assigned to handle the event is passed an EventArgs object containing data related to the TextChanged event.

Remarks

For more information about handling events, see Web Forms Events Model.

Example

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 

See Also

TextBox Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph