Error when adding RadEditor to RadGrid

2 posts, 0 answers
  1. William
    William avatar
    22 posts
    Member since:
    May 2011

    Posted 30 Jun 2011 Link to this post

    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
  2. Rumen
    Admin
    Rumen avatar
    13750 posts

    Posted 05 Jul 2011 Link to this post

    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.

Back to Top