1.0 | 1.1 | 2.0


in namespace DotVVM.Framework.Controls.Bootstrap

Renders a help text widget that can be linked to another control.


Name Type Description Notes Default Value
property icon AssociatedControlID String Gets or sets the ID of an associated control for this help text.
inner element
static value


Name Type Description

Usage & Scenarios

Renders a help text widget that can be linked to another control.

HTML Rendered by the Control

Sample 1: HelpText Usage

Use the AssociatedControlID property to specify the ID of the control which the help text is applied to.

This will ensure that assistive technologies, such as screen readers, will announce this help text when the user focuses or enters the control.

<bs:Form Type="Vertical">
    <bs:FormGroup LabelText="Email">
    <bs:FormStaticValue>[email protected]</bs:FormStaticValue>
  <bs:FormGroup LabelText="Input Password">
    <dot:TextBox ID="inputHelpBlock" Text="{value: Password}" Type="Password"/>
    <bs:HelpText ID="help" AssociatedControlID="inputHelpBlock">
      A simple help text for Input Password

using DotVVM.Framework.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DotvvmWeb.Views.Docs.Controls.bootstrap.HelpText.sample1
    public class ViewModel : DotvvmViewModelBase
        public string Password { get; set; }


Help & Contribute

The documentation is maintained on GitHub.
We'll be happy if you edit the page and create a pull request.

Edit on Github

Send message