Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ListBox Events
Collapse the table of content
Expand the table of content

ListBox Events

The ListBox type exposes the following members.

Public event DataBinding Occurs when the server control binds to a data source. (Inherited from Control.)
Public event DataBound Occurs after the server control binds to a data source. (Inherited from BaseDataBoundControl.)
Public event Disposed Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from Control.)
Public event Init Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from Control.)
Public event Load Occurs when the server control is loaded into the Page object. (Inherited from Control.)
Public event PreRender Occurs after the Control object is loaded but prior to rendering. (Inherited from Control.)
Public event SelectedIndexChanged Occurs when the selection from the list control changes between posts to the server. (Inherited from ListControl.)
Public event TextChanged Occurs when the Text and SelectedValue properties change. (Inherited from ListControl.)
Public event Unload Occurs when the server control is unloaded from memory. (Inherited from Control.)

Community Additions

© 2015 Microsoft