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

Error when adding RadEditor to RadGrid

1 Answer 43 Views
Editor
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 30 Jun 2011, 01:44 PM
Hi Guys,

I'm getting this error when I start to use the RadEditor inside the RadGrid: I created a dummy web page and the RadEditor was totally functional, so I cut and paste it into the RadGrid on another page and the resulting error is happening. What could be the problem?

Telerik.Web.UI.GridColumnCollection must have items of type 'Telerik.Web.UI.GridColumn'. 'telerik:RadEditor' is of type 'Telerik.Web.UI.RadEditor'.

William

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 Jul 2011, 08:18 AM
Hello William,

Where exactly have you pasted the RadEditor's declaration in RadGrid? Note that the GridColumnCollection collection could contains only columns but not objects of type Telerik.Web.UI.RadEditor?

My recommendation is to examine the code of the following demo, which shows how to load RadEditor in an EditItemTemplate and InsertItemTemplate of RadGrid: Datagrid Edit Template.

If you experience any other problems, please open a support ticket and send a simple fully working project that demonstrates them.

All the best,
Rumen
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
Editor
Asked by
William
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or