<HtmlInput>

The HtmlInput tag renders as a rich text editor at run time. It uses the current HTML Editor provider for your DotNetNuke site.

Syntax

<HtmlInput
    DataField="string"
    DataType="string"
    Height="size"
    ID="string"
    Nullable="True|False"
    Visible="True|False"
    Width="size"
/> 
 

Remarks

The HtmlInput tag enables you to provide your users with an easy-to-use rich text editor. This allows them to enter and format text as they would in a word processor. Behind the scenes, the HtmlInput tag uses the default rich text editor setup for use with your site. The "datatype" attribute is always string.

Validating the HtmlInput Control: The nature of the HtmlInput control does not allow it to be validated on the client. If you use a validator with this control, set the "enableclientscript" attribute to "false".

The HtmlInput control has the following attributes:

Back to top

Example

<addform>
  ...
  <table>
    ...

    <tr>
      <td>
        <label for="txtBio" text="Bio" />
        <htmlinput id="txtBio" datafield="Bio" datatype="string" width="600" height="400"/>
      </td>
    </tr>
    ...
    <tr>
      <td colspan="2">
        <addbutton text="Add"/>&nbsp;<cancelbutton text="Cancel"/>
      </td>
    </tr>
  </table>
</addform>
Back to top