This is a migrated thread and some comments may be shown as answers.

Issue using RadHtmlField control

0 Answers 48 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Raj
Top achievements
Rank 1
Raj asked on 05 May 2016, 02:49 PM

Hi

I'm trying to use the RadHtmlField control on a custom SharePoint page layout. The field I'm wrapping is a multi line rich text field (and not a publishing html field) and this is a required field.

I can see the editor coming up and am able to format content.  However when I try to save, the page validation fails and it says you must specify a value for this required field though I've filled content. Here's the code

<Rad:RadHtmlField FieldName="DemoMessage"  runat="server" id="NoteField1" 
                DisableInputFieldLabel="true" DisplayWidth="100%"    
                ConfigFile="/_layouts/RadEditor/ConfigFile.xml"
                ToolsFile="/_layouts/RadEditor/ToolsFile.xml" />

Does the field control work only with publishing html field?

Thanks

No answers yet. Maybe you can help?

Tags
WebParts for SharePoint
Asked by
Raj
Top achievements
Rank 1
Share this question
or