Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TemplateControl Events

The events of the TemplateControl class are listed here. For a complete list of TemplateControl class members, see the TemplateControl Members topic.

Public Events

public eventAbortTransaction Occurs when a user aborts a transaction.
public eventCommitTransaction Occurs when a transaction completes.
public eventDataBinding (inherited from Control) Occurs when the server control binds to a data source.
public eventDisposed (inherited from Control) 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.
public eventError Occurs when an unhandled exception is thrown.
public eventInit (inherited from Control) Occurs when the server control is initialized, which is the first step in the its lifecycle.
public eventLoad (inherited from Control) Occurs when the server control is loaded into the Page object.
public eventPreRender (inherited from Control) Occurs when the server control is about to render to its containing Page object.
public eventUnload (inherited from Control) Occurs when the server control is unloaded from memory.

See Also

TemplateControl Class | System.Web.UI Namespace

Show:
© 2015 Microsoft