Glossary Item Box

PowerWEB TextBox for ASP.NET

Adding HtmlBox to a WebForm

Although PowerWEB TextBox for ASP.NET can be used in your preferred environment on any machine that has the .NET Framework installed, the recommended method is to use the Visual Studio .NET environment.

NOTE If you copy and paste an HtmlBox from one form to another in the designer, be sure to add the <%@ Register %> directive to your page.

To add the HtmlBox control to a WebForm within Visual Studio .NET, use the following steps (the following steps demonstrate using the HtmlBox component):

  1. Create a project as described in Creating A Project.
  2. Add the HtmlBox control to the form. To do this, right-click on the ToolBox and choose Customize ToolBox If the ToolBox is not visible, navigate to the View menu and choose ToolBox
    From the resulting dialog box, choose the .NET Framework Components tab, and then scroll until you find the HtmlBox component (see the screen shot below). Check the checkbox next to it and select OK.

  3. Click the HtmlBox control icon on the ToolBox, and "drag" an instance of it onto the design surface that represents a WebForm. The Visual Studio .NET environment will automatically create an instance of the HtmlBox control.
  4. "Dart.PowerWEB.TextBox.dll" will also appear as a reference after inserting the control. If it does not, manually add it by selecting "Add Reference ..." from the Project menu.
  5. Make a quick application to test. Just navigate to the Debug menu and choose Start The application will compile and execute. You should see Internet Explorer launch with the default layout of the HtmlBox component.

 

In This Section

Creating a New Project
Describes how to create a new project in VS.NET.
Adding HtmlBox to a WebForm
Describes how to add the HtmlBox to a WebForm.
Designer Support
Discusses designer support features available when using VS.NET.
Walkthrough: Creating an Application Using Code-Behind
Demonstrates how to create a simple HTML editing application in VS.NET using code-behind techniques.
Walkthrough: Creating an Application Using the Property Builder
Demonstrates how to create a simple HTML editing application in VS.NET using the Property Builder.
Deploying Your Project
Discusses how to deploy your finished project.

 

 


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.