Issue using RadHtmlField control

1 posts, 0 answers
  1. Raj
    Raj avatar
    1 posts
    Member since:
    May 2016

    Posted 05 May Link to this post

    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

Back to Top