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

SPRadGrid Elements.xml Issue

1 Answer 65 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
John Thompson
Top achievements
Rank 2
John Thompson asked on 04 Mar 2012, 01:29 PM
I installed the 2012_1_CTP of the SAK and attempted to activate the RadGrid in a site collection.  I got a file not found error on the ".dwp" web part file.  After inspecting the Elements.xml file in the folder containing the web part, I discovered the path was not specified properly. I removed the erroneous "RadGridSharePoint" directory level from the Path attribute.

Does not work:
  <Module Name="TelerikSPRadGridWebPart" List="113" Url="_catalogs/wp">
    <File Path="RadGridSharePoint\TelerikSPRadGridWebPart\TelerikSPRadGridWebPart.dwp" Url="TelerikSPRadGridWebPart.dwp" Type="GhostableInLibrary">
      <Property Name="Group" Value="Telerik" />
    </File>   
  </Module>
</Elements>

Works:
  <Module Name="TelerikSPRadGridWebPart" List="113" Url="_catalogs/wp">
    <File Path="TelerikSPRadGridWebPart\TelerikSPRadGridWebPart.dwp" Url="TelerikSPRadGridWebPart.dwp" Type="GhostableInLibrary">
      <Property Name="Group" Value="Telerik" />
    </File>   
  </Module>
</Elements>

This allowed me to properly activate the SPRadGrid web part.

1 Answer, 1 is accepted

Sort by
0
Accepted
Tsvetoslav
Telerik team
answered on 05 Mar 2012, 01:19 PM
Hello John,

You are correct in your observation, however, we updated the installer for the Q1 2012 release almost immediately after it was out and now it should be including the correct files for the grid web part.

Greetings, Tsvetoslav
the Telerik team
Learn how the Telerik controls can be integrated in SharePoint 2007/2010 from this resource. To watch them in action, explore our online SharePoint 2010 demo site.
Tags
Sharepoint Integration
Asked by
John Thompson
Top achievements
Rank 2
Answers by
Tsvetoslav
Telerik team
Share this question
or