Name of plain text page property


This is perhaps a very basic question but I can't seem to figure it out. What data type do you use when you need a plain textbox page property in code? I don't want any formatting, no p/div tags added between line breaks, just a multiline textbox.

Aug 25, 2014 21:18

Just use a string property with uihint textarea.

For example

Name = "Heading",            
Description = "",            
GroupName = SystemTabNames.Content,            
Order = 10)]        
public virtual string Heading { get; set; }

Good luck!

Edited, Aug 25, 2014 21:25

I assumed it was easy. :) Thank you, Henrik!

Aug 26, 2014 20:42
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.