Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Hi,
Did you tried to use [UIHint(UIHint.LongString)] instead of [UIHint(UIHint.TextArea)] ?
I have only information from documentation:
Textarea - Creates a text area to edit a string.
LongString - Edits a string inline in on-page-edit mode and with text area in form mode
They are not marked as obsolete, so it looks like both can be used.
Hello!
I am trying to get On Page editing for a string with the attribute [UIHint.Textarea]. The property is in a block, and we have a preview controller for the block, so we can edit it and see how it looks.
With the attribute, it doesn't work. But without it (when rendered just as a string), it works.
Anyone knows why?
Doesn't work:
[UIHint(UIHint.Textarea)] [Display(GroupName = GroupNames.Content, Order = 10)] public virtual string Teaser { get; set; }
Works:
[Display(GroupName = GroupNames.Content, Order = 10)] public virtual string Teaser { get; set; }