Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Multiline Textbox for String > 255 CMS Property


We have upgraded one of the website from EpiServer CMS 6 R2 to CMS 7. We have all the page types defined in the CMS admin mode. There are no typed pagetypes, the new way of creating the page type. We have some properties of type string > 255 charectors, which earlier used to show a rich text editor. But now they are simple textbox which is not readable when there are more content. Most of the properties we changed to XHTML string where we need rich text editor and still some properties we don't need editor. Is it possible to have a multiline textbox for the string > 255 charector property?

Jan 23, 2013 9:59

In page type try f.ex.

    public virtual string MainIntro { get; set; }

Jan 23, 2013 11:26

Hi TDLA, Thanks for the reply. We have not defined the page types through the code. They are defined directly from the Admin mode.

Jan 23, 2013 11:29

If you want to use pages without typed models you will have to change your old PropertyLongString-properties to a custom property type. See how to create your property here:

Jan 23, 2013 12:53

@Linus - are you able to point me at any reasonable discussion on converting Admin-mode created page types to typed models.  I haven't found anything very helpful.  Especially in the area of custom properties associated to pages.  Thanks

Jul 16, 2013 1:26

@piquet, check out Alf's tool: Creating Page Type Classes from Page Types in EPiServer CMS 7.


Jul 16, 2013 8:02
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.