Glossary Item Box

PowerWEB TextBox for ASP.NET

Optimizing Rendering

Depending on how you configure the HtmlBox, the page output can range from relatively small and non-complex, to rather large and complex. Often, situation will dictate which one is the case. For example, if the HtmlBox is used to provide simple editing to a web forum, it can use a scaled-back configuration. If the HtmlBox is used for a complex application like an advanced content management application, it can use a more advanced, content-heavy configuration. The following techniques describe steps you can take to make your page output smaller (requiring less bandwidth to transfer) and less complex (reducing the rendering time).

Use a smaller color picker.

One of the largest and most complex pieces of the control output is the color picker, displayed when the user clicks the Font Color or Font Highlight button. The HtmlBox has several types of built in color pickers, controlled by the ColorPaletteType property. Choosing the Condensed color palette will reduce page size and complexity.

[C#]
HtmlBox1.ColorPaletteType = ColorPaletteType.Condensed;

[Visual Basic]
HtmlBox1.ColorPaletteType = ColorPaletteType.Condensed
 

Do not enable table support for simple editing purposes.

Typically, table support does not need to be enabled for simple usage scenarios. Enabling table support causes the HtmlBox to render extra HTML code to construct the table-specific dialogs and also additional JavaScript files containing table functions.

In This Section

Optimizing ViewState
Describes techniques to reduce the size of ViewState.
Optimizing Rendering
Describes techniques to reduce page size and rending time.

 

 

 


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.