Displays the model rendered as a string using the HTML <textarea> tag. The model is assumed to already be HTML encoded.
Model Type: object
Name | Type | Default | Description |
---|---|---|---|
EmHeight | int | 10 | Defines the height of the component in lines of text. |
Copy | bool | true | Defines whether a copy icon is displayed to allow the user to copy the contents to the clipboard. If false is specified, no copy icon is shown. |
[Caption("Message"), Description("The feedback message")] [UIHint("TextAreaSourceOnly"), ReadOnly] public string Comment { get; set; }
Allows entry of a formatted HTML encoded string using the HTML <textarea> tag. The model is assumed to already be HTML encoded.
Model Type: object
If the StringLengthAttribute is specified for the model, the textarea element is limited to the specified number of characters.
To render a more advanced text editor using CKEditor, use the TextArea Component instead.
Name | Type | Default | Description |
---|---|---|---|
EmHeight | int | 10 | Defines the height of the component in lines of text. |
Spellcheck | boolean | true | Defines whether spell checking is on/off for the text area. |
Copy | bool | false | Defines whether a copy icon is displayed to allow the user to copy the contents to the clipboard. If false is specified, no copy icon is shown. |
Name | Type | Description |
---|---|---|
model__PlaceHolder | string | Defines the placeholder text shown when control contents are empty. |
[Caption("Comment"), Description("Enter your comment about this blog entry for others to view")] [UIHint("TextAreaSourceOnly"), StringLength(BlogComment.MaxComment)] public string Comment { get; set; }
Last Updated 04/24/2022 - (email)
© 2023 - Softel vdm, Inc. - YetaWF.com