RadControls for ASP.NET AJAX

RadControls Send comments on this topic.
Deploying RadControls for ASP.NET Ajax
Integrating RadControls in MOSS > Deploying RadControls for ASP.NET Ajax

Glossary Item Box

To leverage RadControls for ASP.NET Ajax, some required files must be deployed to each SharePoint Web Front End (WFE) server. Once the required files are deployed, RadControls can be added to the site by editing the site’s master page(s).


This section outlines the required steps that need to be taken to deploy RadControls for ASP.NET AJAX prior to implementing it within an existing MOSS web site.

1. First you need to install Telerik.Web.UI.dll in the GAC (Global Assembly Cache) of your SharePoint server. There are two ways to do this:

a. Drag and drop Telerik.Web.UI.dll into C:\Windows\Assembly (in Windows Explorer)


b. Open Visual Studio 2005 Command Prompt and run the following commands (assuming Telerik.Web.UI.dll are in c:\Telerik)

gacutil -i c:\Telerik\Telerik.Web.UI.dll

If you use Q1 2009 or later you need to install Telerik.Web.Design.dll in the GAC as well.

2. Next you should tell SharePoint that the controls from the Telerik.Web.UI.dll (and Telerik.Web.Design.dll) are safe to use. To do so you should add a few <SafeControl> entries within the <SafeControls> section in your web.config:

[web.config] Copy Code
<SafeControl Assembly="Telerik.Web.UI, Version=x.x.x.x, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />
<
SafeControl Assembly="Telerik.Web.UI, Version=x.x.x.x, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" />


Note that the version of the assembly is specified in each <SafeControl> tag. If deploying a different version of RadControls for ASP.NET Ajax, ensure that the version number is correct here.

 

3. [Optional] In order to use RadScriptManager (instead of the standard ScriptManager control) you need to register its handler in the <httpHandlers> section in the web.config:

[web.config] Registering the handler Copy Code
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource,
Telerik.Web.UI, Version=x.x.x.x, Culture=neutral,
PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" />