Create RadHtmlField programmatically

2 posts, 0 answers
  1. Gus
    Gus avatar
    12 posts
    Member since:
    Sep 2012

    Posted 21 Apr 2009 Link to this post

    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.


  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 23 Apr 2009 Link to this post

    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.

Back to Top