www.gibmonks.com

Main Page

  Previous Section Next Section

ControlParser

System.Web.UI.Design (system.design.dll)sealed class

This class is used predominantly by the ASP.NET framework. It allows you to generate a System.Web.UI.Control object from a string that represents the persisted control. You can perform this operating using the ParseControl( ) method, and you can cast the Control to the appropriate type to interact with it.

public sealed class ControlParser {
// Public Static Methods
   public static Control ParseControl(System.ComponentModel.Design.IDesignerHost designerHost, 
        string controlText);
   public static Control ParseControl(System.ComponentModel.Design.IDesignerHost designerHost, 
        string controlText, string directives);
   public static ITemplate ParseTemplate(System.ComponentModel.Design.IDesignerHost designerHost, 
        string templateText);
   public static ITemplate ParseTemplate(System.ComponentModel.Design.IDesignerHost designerHost, 
        string templateText, string directives);
}
      Previous Section Next Section