Label Events
.NET Framework 3.0
| Name | Description | |
|---|---|---|
| DataBinding | Occurs when the server control binds to a data source. (inherited from Control) |
| 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) |
| Init | Occurs when the server control is initialized, which is the first step in its lifecycle. (inherited from Control) |
| Load | Occurs when the server control is loaded into the Page object. (inherited from Control) |
| PreRender | Occurs after the Control object is loaded but prior to rendering. (inherited from Control) |
| Unload | Occurs when the server control is unloaded from memory. (inherited from Control) |
Reference
Label ClassSystem.Web.UI.WebControls Namespace
Label.Text Property
Other Resources
Label Web Server ControlSecuring Standard Controls
How to: Protect Against Script Exploits in a Web Application by Applying HTML Encoding to Strings
Introduction to Validating User Input in ASP.NET Web Pages
Community Additions
ADD
Show: