2

I want to create and deploy a layouts page in a SharePoint 2013 environment. It is basically a form where you can store values.

Is it possible to use the Rich Text Control which is utilizing the ribbon for formatting?

Edit1 I want this control **
I want the control "Multi" as seen on the picture.

  • I see, yeah just steal the code from a page that uses that then. (I do this to get around EVERY problem that I can't do OOTB easily :P) – Hugh Wood May 10 '13 at 16:01
2

Correct answer: Steal it from a working one on a page OOTB using ILSpy. (Answer to everything)

Wrong answer but left in: This is the 2007 control This is how the control should look Max:

<SharePoint:InputFormTextBox
    runat="server"
    ID="RichTextBox"
    ValidationGroup="foo" 
    Rows="10" 
    Columns="50" 
    TextMode="MultiLine" 
    RichText="true" 
    RichTextMode="FullHtml" 
    AllowHyperlink="true" />
  • 2
    Apparently this results in the retro control with the toolbar above the control - no ribbon yet. – Max Melcher May 10 '13 at 15:11
  • Sorry max, misunderstood, you want to basically grab and steal the content editor web part (Microsoft.SharePoint.WebPartPages.ContentEditorWebPart for this. Pretty easy to do infact someone has already done it for you. zootfroot.blogspot.co.uk/2010/09/… – Hugh Wood May 10 '13 at 15:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.