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

RadGrid, GridHTMLEditorColumn and RTF

1 Answer 76 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ken Qian
Top achievements
Rank 1
Ken Qian asked on 25 Apr 2011, 07:17 AM
I have a database fields that stores RTF strings. How do I bind it to a GridHTMLEditorColumn in RadGrid?

When I tried binding it directly, it shows RTF tags like "{rtf\..."

Thanks!

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 28 Apr 2011, 12:01 PM
Hello Ken,

You have to import the RTF manually, via the LoadRtfContent method. Also, if you use the GridHTMLColumn this would work in edit mode only.
Possible way around this behavior would be to use GridTemplateColumn with separate RadEditors in both ItemTemplate and EditItemTemplate.

Best regards,
Daniel
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
Ken Qian
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or