SPRadGrid Elements.xml Issue

2 posts, 1 answers
  1. John Thompson
    John Thompson avatar
    44 posts
    Member since:
    Dec 2009

    Posted 04 Mar 2012 Link to this post

    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.
  2. Answer
    Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 05 Mar 2012 Link to this post

    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.

Back to Top