Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TemplateControl Events

TemplateControl Events

  Name Description
Public event AbortTransaction
Occurs when a user ends a transaction.
Public event CommitTransaction
Occurs when a transaction completes.
Public event DataBinding 
Occurs when the server control binds to a data source.
(inherited from Control)
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 Error
Occurs when an unhandled exception is thrown.
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 Unload 
Occurs when the server control is unloaded from memory.
(inherited from Control)

Community Additions

© 2015 Microsoft