Error when using RichHtmlField



In my WCM site on MOSS, I have created a field in my content type of
type Publishing HTML

In my page template I insert a RichHtmlField control as
<PublishingWebControls:RichHtmlField id="fieldIntro" runat="server"
FieldName="Extra"/>

and I get error
Unable to cast object of type
'Microsoft.SharePoint.SPFieldMultiLineText' to type
'Microsoft.SharePoint.Publishing.Fields.HtmlField'.


What am I doing wrong?

How can I get a RichHtmlField control to work with a custom field in my
content type on my page?

Thanks
Saul

.



Relevant Pages

  • Re: Error when using RichHtmlField
    ... Ishai Sagi wrote: ... What should work but gives only half the functionality is the TextField ... type Publishing HTML ... In my page template I insert a RichHtmlField control as ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Error when using RichHtmlField
    ... is no way to map the control to a field. ... What should work but gives only half the functionality is the TextField ... type Publishing HTML ... In my page template I insert a RichHtmlField control as ...
    (microsoft.public.sharepoint.portalserver.development)