See Also

HtmlBox Members  | Dart.PowerWEB.TextBox Namespace

Requirements

Namespace: Dart.PowerWEB.TextBox

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Assembly: Dart.PowerWEB.TextBox (in Dart.PowerWEB.TextBox.dll)

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Requirements Languages PowerWEB TextBox for ASP.NET

HtmlBox Class

Dart.PowerWEB.TextBox Namespace : HtmlBox Class

Replaces the TextBox control to provide advanced HTML editing within a browser.

For a list of all members of this type, see HtmlBox members.

Object Model


















Inheritance Hierarchy

System.Object
   System.Web.UI.Control
      System.Web.UI.WebControls.WebControl
         System.Web.UI.WebControls.Label
            Dart.PowerWEB.TextBox.HtmlBox

Syntax

[Visual Basic]
<LicenseProviderAttribute(TextBoxLicenseProvider)> <ParseChildrenAttribute(ChildControlType=System.Web.UI.Control, ChildrenAsProperties=True)> <ToolboxDataAttribute("<{0}:HtmlBox runat=server></{0}:HtmlBox>")> <DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Dart.PowerWEB.TextBox.HtmlBoxDesigner, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")> <PersistChildrenAttribute(Persist=False, UsesCustomPersistence=False)> <ValidationPropertyAttribute("Text")> <EditorAttribute(EditorBaseTypeName="System.ComponentModel.ComponentEditor, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", EditorTypeName="Dart.PowerWEB.TextBox.PropertyBuilder, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")> Public Class HtmlBox    Inherits Label    Implements ILiveCallbackHandler, ILiveControl, ILiveWebControl 
[C#]
[LicenseProviderAttribute(TextBoxLicenseProvider)] [ParseChildrenAttribute(ChildControlType=System.Web.UI.Control, ChildrenAsProperties=true)] [ToolboxDataAttribute("<{0}:HtmlBox runat=server></{0}:HtmlBox>")] [DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Dart.PowerWEB.TextBox.HtmlBoxDesigner, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")] [PersistChildrenAttribute(Persist=false, UsesCustomPersistence=false)] [ValidationPropertyAttribute("Text")] [EditorAttribute(EditorBaseTypeName="System.ComponentModel.ComponentEditor, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", EditorTypeName="Dart.PowerWEB.TextBox.PropertyBuilder, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")] public class HtmlBox : Label, ILiveCallbackHandler, ILiveControl, ILiveWebControl 
[C++]
[LicenseProviderAttribute(TextBoxLicenseProvider)] [ParseChildrenAttribute(ChildControlType=System.Web.UI.Control, ChildrenAsProperties=true)] [ToolboxDataAttribute("<{0}:HtmlBox runat=server></{0}:HtmlBox>")] [DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Dart.PowerWEB.TextBox.HtmlBoxDesigner, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")] [PersistChildrenAttribute(Persist=false, UsesCustomPersistence=false)] [ValidationPropertyAttribute("Text")] [EditorAttribute(EditorBaseTypeName="System.ComponentModel.ComponentEditor, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", EditorTypeName="Dart.PowerWEB.TextBox.PropertyBuilder, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")] public __gc class HtmlBox : public Label, ILiveCallbackHandler, ILiveControl, ILiveWebControl 
[C++/CLI]
[LicenseProviderAttribute(TextBoxLicenseProvider)] [ParseChildrenAttribute(ChildControlType=System.Web.UI.Control, ChildrenAsProperties=true)] [ToolboxDataAttribute("<{0}:HtmlBox runat=server></{0}:HtmlBox>")] [DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Dart.PowerWEB.TextBox.HtmlBoxDesigner, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")] [PersistChildrenAttribute(Persist=false, UsesCustomPersistence=false)] [ValidationPropertyAttribute("Text")] [EditorAttribute(EditorBaseTypeName="System.ComponentModel.ComponentEditor, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", EditorTypeName="Dart.PowerWEB.TextBox.PropertyBuilder, Dart.PowerWEB.TextBox, Version=3.1.7.2300, Culture=neutral, PublicKeyToken=5966291b8955e4bb")] public ref class HtmlBox : public Label, ILiveCallbackHandler, ILiveControl, ILiveWebControl 

Remarks

Use the HtmlBox control included with PowerWEB TextBox for .NET to replace the TextBox control within your web application to provide advanced HTML editing. The HtmlBox control uses the MS DHTML engine to enable WYSIWYG-style editing within a browser. The HtmlBox control renders an IFRAME, associated tables to provide an "editor" interface, and the necessary JavaScript to perform the editing actions.

For introductory steps and tutorials on using the HtmlBox in a web application, see either of the topics Using PowerWEB in VS.NET or Using PowerWEB in WebMatrix.

Basic Configuration

Once a project is created, the HtmlBox is provided with default display settings (for more information, see the HtmlBox constructor topic). This default configuration can be modified one of two ways:

For more information about configuration, see the topic Configuring the Editor.

Advanced Customization

The HtmlBox allows highly advanced customization, enabling a developer to create complex client-side objects such as custom windows-style dfialog boxes with only a few lines of code. For more information about this see the topic Advanced Customization.

Requirements

Namespace: Dart.PowerWEB.TextBox

Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista

Assembly: Dart.PowerWEB.TextBox (in Dart.PowerWEB.TextBox.dll)

See Also

HtmlBox Members  | Dart.PowerWEB.TextBox Namespace

 

Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.