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

Create RadHtmlField programmatically

1 Answer 85 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Gus
Top achievements
Rank 2
Gus asked on 22 Apr 2009, 12:02 AM
I want to programmatically create a RadHtmlField in a user control code behind but the SharePoint FieldName is not available as a property.  Is it even possible to create it dynamtically?  I noticed that the Sharepoint HtmlField does have a fieldName property and I would imagine the RadHtmlField would have it as well.

Thanks.


1 Answer, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 23 Apr 2009, 10:58 AM
Hello Gus,

RadHtmlField  does not has FieldName property. What I suggest to you is to use RichHtmlField instead of RadHtmlField. If the RadEditor is enabled in the Site features it will automatically replace the RichHtmlField.

I hope this helps.


Greetings,
Stanimir
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
WebParts for SharePoint
Asked by
Gus
Top achievements
Rank 2
Answers by
Stanimir
Telerik team
Share this question
or