In a custom Web part (actually on the home page, but I think it doesn't matter), I want to let the users input some rich content, keeping the Ribbon functionalities; same as the OOB rich text columns. This field is part a form having several fields.

By now, I have in my webpart :

<SharePoint:InputFormTextBox TextMode="MultiLine" 

this allows me to input rich text, but using the 2007's legacy rich text input.

How can I have a new 2010 rich text input ?


1 Answer 1


Maybe you have to change the RichTextMode to FullHTML. SharePoint.. Prefix is referencing the right assembly?


The InputFormTextBox control actually is a TextArea. With some script you can create a richer experience (RTE_ConvertTextAreaToRichEdit), but not the Ribbon functionalities. Maybe the Content Editor webpart is an alternative?

--Update 2--

I just found something which maybe very helpfull to you: http://zootfroot.blogspot.com/2010/09/develop-custom-editable-visual-web-part.html

Please let me know it this answers your question.

  • RichTextMode value does not change the UI of the control. The prefix is actually pointing to SharePoint webcontrols namespace
    – Steve B
    Jul 13, 2011 at 8:41
  • Did you migrate from 2007? Jul 13, 2011 at 11:05
  • no, new application from scratch
    – Steve B
    Jul 13, 2011 at 11:48
  • I have to embed the rich text box in a more complex form. I can't use the content editor webpart :(
    – Steve B
    Jul 19, 2011 at 7:26
  • Too bad, are you able to write and deploy your own controls? Then you can show the neccesary ribbon tabs from code behind. Jul 20, 2011 at 6:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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