Name
ControlPersister
Synopsis
This class provides shared (static) helper methods that retrieve the information
used to persist a control and its state. For example, the PersistControl()
method
returns a string that looks very similar to the control tag used in the
.aspx
file, with the named class used instead of
the “asp:” prefix. Typically, this class is used only by the IDE.
Public NotInheritable Class ControlPersister ' Public Shared Methods Public Shared Function PersistControl( ByVal control As System.Web.UI.Control) As String Public Shared Function PersistControl( ByVal control As System.Web.UI.Control, ByVal host As System.ComponentModel.Design.IDesignerHost) As String Public Shared Sub PersistControl( ByVal sw As System.IO.TextWriter, ByVal control As System.Web.UI.Control) Public Shared Sub PersistControl( ByVal sw As System.IO.TextWriter, ByVal control As System.Web.UI.Control, ByVal host As System.ComponentModel.Design.IDesignerHost) Public Shared Function PersistInnerProperties( ByVal component As Object, ByVal host As System.ComponentModel.Design.IDesignerHost) As String Public Shared Sub PersistInnerProperties( ByVal sw As System.IO.TextWriter, ByVal component As Object, ByVal host As System.ComponentModel.Design.IDesignerHost) End Class
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.