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

SAK & Visual Studio WebPart Project

3 Answers 44 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Neto
Top achievements
Rank 1
Neto asked on 18 Jul 2012, 03:07 PM
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

3 Answers, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 23 Jul 2012, 01:21 PM
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.
0
Neto
Top achievements
Rank 1
answered on 02 Aug 2012, 12:22 PM
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?
0
Tsvetoslav
Telerik team
answered on 07 Aug 2012, 07:25 AM
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.
Tags
Sharepoint Integration
Asked by
Neto
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Neto
Top achievements
Rank 1
Share this question
or