RAD control doesn't not work for SharePoint (regardless of if you register the dialog handlers)
- I do not understand which RAD control
you are refering. In general all RadControls for ASP.NET AJAX work in SharePoint 2010 farm solutions.
Here is what I am saying:
First I will assume that we are talking about SharePoint 2010
however all the information provided next is applicable in MOSS
and SharePoint 2013
. Also I am assuming that the question here is the dialogs of the editor.
If you want to use RadEditor for ASP.NET AJAX in SharePoint and you want to access SharePoint libraries in the editor's dialogs you have two options:
1. Use the SPRadEditor
class defined in the Telerik.SharePoint
name space of the RadEditorSharePoint
assembly. This assembly comes with the Telerik_AJAX_Controls_For_Sharepoint2010_xxxx_x_xxx_Dev package (RadControls for SharePoint 2010). In order for this to work you need to be sure that RadControls for SharePoint 2010
are installed on the server, where you are about to deploy you custom solution and use the SPRadEditor
control in it. If you do not want to install the entire RadControls for SharePoint package you can use SPRadEditor
again but you need to make sure that all the settings in the web.config and all resource files needed for the proper behavior of the control (these are the changes, which are made by the package installer) are present on the server.
2. You can use RadEditor for ASP.NET AJAX, but if you want to access SharePoint library info in the dialogs you will need to add the proper handlers in the web.config and implement your own content provider, which will work with the libraries. What you need to know here is that the handlers in SharePoint should be registered with fully qualified name and with axd
extensions instead aspx
. Also helpful information on the content provider you can find in the following demo and blog post:
You can also use RadEditor for ASP.NET AJAX dialogs without implementing content provider, but you will not have access to the SharePoint's libraries. Wou will be using the default file system provider and probably access folders such as _layouts
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed