Name
TemplateControl
Synopsis
This abstract class provides basic functionality for template controls,
which include Page
and UserControl
. This functionality includes
transaction support and various properties, methods, and events that are used
and managed transparently by the ASP.NET framework.
Public MustInherit Class TemplateControl : Inherits Control : Implements INamingContainer ' Protected Constructors Protected Sub New() ' Protected Instance Properties Overridable Protected Property AutoHandlers As Integer Overridable Protected Property SupportAutoEvents As Boolean ' Public Shared Methods Public Shared Function ReadStringResource( ByVal t As Type) As Object ' Public Instance Methods Public Function LoadControl( ByVal virtualPath As String) As Control Public Function LoadTemplate( ByVal virtualPath As String) As ITemplate Public Function ParseControl( ByVal content As String) As Control ' Protected Instance Methods Overridable Protected Sub Construct() Protected Function CreateResourceBasedLiteralControl( ByVal offset As Integer, ByVal size As Integer, ByVal fAsciiOnly As Boolean) As LiteralControl Overridable Protected Sub FrameworkInitialize() Overridable Protected Sub OnAbortTransaction( ByVal e As EventArgs) Overridable Protected Sub OnCommitTransaction( ByVal e As EventArgs) Overridable Protected Sub OnError(ByVal e As EventArgs) Protected Sub SetStringResourcePointer( ByVal stringResourcePointer As Object, ByVal maxResourceOffset As Integer) Protected Sub WriteUTF8ResourceString ...
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.