![]() ![]() | ||
The TemplateControl class is the base class of the System.Web.UI.UserControl class. (I'm using this class's full namespace to distinguish this class from the System.Windows.Forms.UserControl we also saw in this chapter.) Here is the inheritance hierarchy of that class:
Object Control TemplateControl
You can find the notable public methods of TemplateControl objects in Table 24.6 and their notable public events in Table 24.7. (This class has no non-inherited properties.) Note that as with other Web server controls, I am not listing the notable properties, methods, and events this class inherits from the Control class—you can find them in Chapter 15, Tables 15.1 to 15.3.
Method |
Means |
---|---|
LoadControl |
Loads the user control from a user control file. |
LoadTemplate |
Loads a template from a file. |
ParseControl |
Parses an input string. |
Event |
Means |
---|---|
AbortTransaction |
Occurs when a transaction is aborted. |
CommitTransaction |
Occurs when a transaction is committed. |
Error |
Occurs when an exception is unhandled. |
![]() ![]() | ||