Error when using RichHtmlField
- From: "Saul" <stombuk@xxxxxxxxx>
- Date: 17 Jan 2007 07:21:36 -0800
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
.
- Follow-Ups:
- Re: Error when using RichHtmlField
- From: Ishai Sagi
- Re: Error when using RichHtmlField
- From: RP
- Re: Error when using RichHtmlField
- Prev by Date: DataGrid and SPList
- Next by Date: Re: I need examples/samples explaining how to consume the web services provided by Sharepoint in C#.
- Previous by thread: DataGrid and SPList
- Next by thread: Re: Error when using RichHtmlField
- Index(es):
Relevant Pages
|