Using our controls with SharePoint Designer is not a difficult task. Here is what you need to do:
1. Make the control assembly accessible for the SharePoint Web Application. This can be done in two ways - you can either add the control assembly in the machine's GAC or you can just copy it to the SharePoint application's bin folder. If you go with the bin folder, remember that you might need to raise the application's trust level to Full or Medium, since our controls need at least Medium trust to run correctly.
2. Add a safe control element for all the namespaces in the control assembly in the Web.config file. This will allow you to use the control in SharePoint pages.
3. Add the control to a page using SharePoint designer. Unfortunately our controls will not be visible in the SharePoint Designer's toolbox, so you will need to manually add them to the page. First you need to add a <%@ Register... %> line in the beginning of the web form or master page and then add the control instance as well. For Example:
|<%@ Register TagPrefix="radm" Assembly="RadMenu.Net2, Version=184.108.40.206, Culture=neutral, PublicKeyToken=bbe59a8ad3533e68" NameSpace="Telerik.WebControls" %> |
|<radm:RadMenu id="radMenu1" runat="server"></radm:RadMenu> |
Note that you need to use the assembly's fully qualified name if you have put it in the machine's GAC.
By default, SharePoint Designer does not allow code fragments in your pages so if you want to write some server-side events or any other piece of C#/VB.NET code, you will first need to enable the code fragments. You can do a quick search on google if you are not sure how to do it.
the Telerik team