MobileControlBuilder

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



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net