DekGenius.com
[ Team LiB ] Previous Section Next Section

MobileControlBuilder.NET 1.1

System.Web.UI.MobileControls (system.web.mobile.dll)class

The MobileControlBuilder class is used internally by ASP.NET. It defines basic functionality for parsing mobile controls (in other words, reading the markup defined in the .aspx file, and using it to generate the appropriate control objects). All the mobile control builders derive from MobileControlBuilder. If you create a control that has it's own custom persistence format, you will have to provide a control builder that can parse your control tags.

The MobileControlBuilder includes basic functionality, like ignoring white space and recognizing <DeviceSpecific> tags. It also applies some rules, enforcing the requirement that forms and style sheets are top-level controls, and that styles can only be defined in style sheets.

public class MobileControlBuilder : System.Web.UI.ControlBuilder {
// Public Constructors
   public MobileControlBuilder( );
// Public Instance Methods
   public override bool AllowWhitespaceLiterals( );               // overrides System.Web.UI.ControlBuilder
   public override Type GetChildControlType(string tagName, System.Collections.IDictionary attributes);
                  // overrides System.Web.UI.ControlBuilder 
}

Hierarchy

System.Object System.Web.UI.ControlBuilder MobileControlBuilder

Subclasses

ListControlBuilder, LiteralTextContainerControlBuilder, LiteralTextControlBuilder, ObjectListControlBuilder, StyleSheetControlBuilder, TextBoxControlBuilder

    [ Team LiB ] Previous Section Next Section