SAK & Visual Studio WebPart Project

4 posts, 0 answers
  1. Neto
    Neto avatar
    5 posts
    Member since:
    Apr 2008

    Posted 18 Jul 2012 Link to this post

    Hi everyone,

    i Just installed Sharepoint Acceleration Kit SAK ,
    and i was looking at this documentation
    http://www.telerik.com/help/aspnet-ajax/moss-installing_radeditor__radgrid_web_parts_on_sharepoint_2010.html
    "Sharepoint 2010" .
    Well done, installed and i was able to use the webParts in my Sharepoint!, ok! that´s great !

    But now i tried to create a Web Part using RadControls, because the SAK says RadControls ASP.NET Ajax are include !
    i Create a Web Part and added the reference to
    C:\Windows\assembly\GAC_MSIL\Telerik.Web.UI\2012.1.215.35__121fae78165ba3d4\Telerik.Web.UI.dll
    Then i added Telerik.Web.UI.dll from GAC to my ToolBox ! and he added

    <%@ Register Assembly="Telerik.Web.UI, Version=2012.1.215.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
        Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    Great!, than i added a simple numeric box
    <telerik:RadNumericTextBox ID="tbxParcela" runat="server"  class="s40" ></telerik:RadNumericTextBox>

    And i deployed the WebPart,! Well done!, its works, but in design mode DOES NOT ! I believe because i dont have the "Telerik.Web.Design.dll"
    Why this DLL are not include ?
    Why there is no documentation refering how to use the RadControls in SAK Package?
    I believe the documentation about creating WebParts using SAK are missing.

    Thank you very much

  2. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 23 Jul 2012 Link to this post

    Hi Neto,

    The SAK is not intended for web part creation but offers out-of-the-box web parts to be used by developers and business users. If you need to develop your own web parts with the telerik controls, just download the ajax controls and deploy them into your SP 2010 installation.

    Hope it helps.

    All the best,
    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.

  3. Neto
    Neto avatar
    5 posts
    Member since:
    Apr 2008

    Posted 02 Aug 2012 Link to this post

    Thank you for the answer

    If i download just the "RadControls  Web" for Sharepoint development i have to install it manually , which its a hard and painfull work !

    but Sharepoint Acceleration KIt(SAK) has a great deployment system,

    Why not offer a automatic installation for "RadControls  Web" in sharepoint?
  4. Tsvetoslav
    Admin
    Tsvetoslav avatar
    1823 posts

    Posted 07 Aug 2012 Link to this post

    Hello Neto,

    The ajax controls come with their installer as well. You should just run it and add a few SafeControl entries in the web.config of the SharePoint web application:

    <SafeControl Assembly="Telerik.Web.UI, Version=VersionNumberGoesHere, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" SafeAgainstScript="False" />
    <SafeControl Assembly="Telerik.Web.UI, Version=VersionNumberGoesHere, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI.Editor" TypeName="*" Safe="True" SafeAgainstScript="False" />
    <SafeControl Assembly="Telerik.Web.UI, Version=VersionNumberGoesHere, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI.Widgets" TypeName="*" Safe="True" SafeAgainstScript="False" />
    <SafeControl Assembly="Telerik.Web.UI, Version=VersionNumberGoesHere, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" SafeAgainstScript="False" />
    <SafeControl Assembly="Telerik.Web.UI.Skins, Version=VersionNumberGoesHere, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" SafeAgainstScript="False" />


    Regards,
    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