Default Memo

The Bootstrap Memo control is a text editor allowing multi-line input. This example demonstrates the Bootstrap Memo control with default settings.

@(Html.DevExpress()
    .BootstrapMemo("MemoDefault")
    .Rows(3)
    .Value("Quisque imperdiet risus quis nisl vulputate, a pharetra tortor ornare. ")
)

Null Text

This demo illustrates how the NullText method can be used to display prompt text (watermark) in the editor's edit box. Specified text is displayed when the value of the editor is null and the editor is not focused. The prompt text disappears when the editor receives focus. To show the null text even in the focused editor call the NullTextDisplayMode method with the UnfocusedAndFocused parameter.

@(Html.DevExpress()
    .BootstrapMemo("NullTextMemo")
    .NullText("Enter Your Description")
)

Caption and HelpText

In this example, the Memo control displays a caption on the top and auxiliary help text at the bottom of the editor.

@(Html.DevExpress()
    .BootstrapMemo("CaptionAndHelpTextMemo")
    .HelpText("Enter your notes")
    .Caption("Notes")
)
Screen Size
Color Themes
Demo QR Code