In XAF Win, we have Office Module. This module has RichTextPropertyEditor to work with rich text properties.
To accomplish this task in XAF Web, you can implement a custom PropertyEditor based on a required visual control that supports showing and editing a rich text.
DevExpress provides such a control for the ASP.NET platform. More integration options are documented at eXpressApp Framework > Concepts > UI Construction > Using a Custom Control that is not Integrated by Default.
Prior to starting XAF integration, I suggest you get familiar with this component itself using its corresponding documentation, demos, and examples:
ASP.NET Controls and MVC Extensions > ASP.NET WebForms Controls > Rich Text Editor
There are several support center tickets which contain ASP.NET samples that should help you accomplish this task: ASPxRichText Property Editor and How to update AspxRichEdit with new RTF Content (Xaf Web)
Alternatively, you may consider saving rich text properties in the HTML format as described in the eXpressApp Framework > Concepts > Extra Modules > Office Module (CTP) > Use Rich Text Documents in Business Objects > Change the Document Storage Format topic. After this, you will be able to use our ASPxHtmlPropertyEditor to display and edit rich text properties in XAF Web.
I hope you find this information helpful.
Search tags: RTF, rich text, XtraRichEdit, RichEditControl, ASPxRichEdit, RichTextEdit, rich edit, Microsoft, MS Word, richedit
Show all comments