June 2002
Intermediate to advanced
816 pages
28h 12m
English
ControlPersister
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
Read now
Unlock full access