Hi,
I am using MOSSRadEditor in my sharepoint environment. In that environment I am also using my custom asp.net user control in which I am using the asp.net RadEditor.
Right now MOSSRadEditor's ImageManager is poinitng to an image library of sharepoint. I wanted to use the same Image Manager on asp.net Radeditor. I was able to use the same Tools file for both editors but things which are related to MOSS are not populating on asp.net RadEditor.
Or if anyone can guide me for using the MOSSRadEdiotor in cutom usercontrol then that can also help.
Any help is highly appreciated.
I am using MOSSRadEditor in my sharepoint environment. In that environment I am also using my custom asp.net user control in which I am using the asp.net RadEditor.
Right now MOSSRadEditor's ImageManager is poinitng to an image library of sharepoint. I wanted to use the same Image Manager on asp.net Radeditor. I was able to use the same Tools file for both editors but things which are related to MOSS are not populating on asp.net RadEditor.
Or if anyone can guide me for using the MOSSRadEdiotor in cutom usercontrol then that can also help.
Any help is highly appreciated.
5 Answers, 1 is accepted
0
Hi Praveen,
In order to use the MOSSRadEditor control in you user control you need to have the following code in it.
1. Add reference for Telerik.SharePoint
2. Add the control
One other thing is to add a script manager on the page. In order to do so follow these steps.
1. Add the following <controls> section as a child of the <system.web>/<pages> tag:
2. Add a SafeControl entry for the System.Web.UI namespace from the System.Web.Extensions assembly within the <SharePoint>/<SafeControls> section:
3. Add the following code to add the ScriptManager (somewhere before the loading of MOSSRadEditor).
For .net 3.5 the first two steps are:
1. Add the following <controls> section as a child of the <system.web>/<pages> tag:
2. Add a SafeControl entry for the System.Web.UI namespace from the System.Web.Extensions assembly within the <SharePoint>/<SafeControls> section:
I hope this helps.
Sincerely yours,
Stanimir
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
In order to use the MOSSRadEditor control in you user control you need to have the following code in it.
1. Add reference for Telerik.SharePoint
<%@ Register TagPrefix="rad" Namespace="Telerik.SharePoint" Assembly="RadEditorSharePoint, Version=5.4.1.0, culture=neutral, PublicKeyToken=1f131a624888eeed" %> |
2. Add the control
<rad:MOSSRadEditor id="editor1" runat="server"></rad:MOSSRadEditor> |
One other thing is to add a script manager on the page. In order to do so follow these steps.
1. Add the following <controls> section as a child of the <system.web>/<pages> tag:
<controls> |
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> |
</controls> |
2. Add a SafeControl entry for the System.Web.UI namespace from the System.Web.Extensions assembly within the <SharePoint>/<SafeControls> section:
<SafeControl Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TypeName="*" Safe="True" /> |
3. Add the following code to add the ScriptManager (somewhere before the loading of MOSSRadEditor).
<asp:ScriptManager id="ScriptManager1" runat="server"></asp:ScriptManager> |
For .net 3.5 the first two steps are:
1. Add the following <controls> section as a child of the <system.web>/<pages> tag:
<controls> |
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, |
PublicKeyToken=31BF3856AD364E35"/> |
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35"/> |
</controls> |
2. Add a SafeControl entry for the System.Web.UI namespace from the System.Web.Extensions assembly within the <SharePoint>/<SafeControls> section:
<SafeControl Assembly="System.Web.Silverlight, |
Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" |
Namespace="System.Web.UI.SilverlightControls" TypeName="*" Safe="True" /> |
<SafeControl Assembly="System.Web.Extensions, |
Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" |
Namespace="System.Web.UI" TypeName="*" Safe="True" /> |
I hope this helps.
Sincerely yours,
Stanimir
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0

Alan Coulter
Top achievements
Rank 1
answered on 08 Dec 2009, 12:29 AM
Hi, we have the recommended web.config settings, but are seeing in the Event log that System.Web.Silverlight Version=2.0.5.0 cannot be found. When we go to the silverlight site, we can only see the download for Silverlight 3. What do we need to do to remove this error? If we install the silverlight 3 runtime, will the Moss Rad Editor still work?
0
Hello Alan Coulter,
The Silverlight is not necessary for RadEditor to work correctly. So if you do not use Silverlight your self, there is no need of this line of code.
Regards,
Stanimir
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
What you can do is remove the following line.
<
SafeControl
Assembly="System.Web.Silverlight,
Version
=
2
.0.5.0,
Culture
=
neutral
,
PublicKeyToken
=
31bf3856ad364e35
"
Namespace
=
"System.Web.UI.SilverlightControls"
TypeName
=
"*"
Safe
=
"True"
/>
Regards,
Stanimir
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0

Adnan
Top achievements
Rank 1
answered on 12 Feb 2010, 01:05 PM
Hi Stanimir ,
I am following the steps that you posted on June 29, 2009 regarding using a Telerik MOSSRadEditor in the user control, but I get the following error message:
"CS0143: The type 'Telerik.SharePoint.MOSSRadEditor' has no constructors defined".
I have already deployed RadEditorLite for MOSS in my virtual PC and I can use MOSS RadEditor on my page layout page. I would like to use MOSSRadEditor Lite in my user control for my SharePoint web site.
A quick email from you will be highly appreciate.
Thanks
Adnan Ahmed
Senior Consultant
PM Centrix
I am following the steps that you posted on June 29, 2009 regarding using a Telerik MOSSRadEditor in the user control, but I get the following error message:
"CS0143: The type 'Telerik.SharePoint.MOSSRadEditor' has no constructors defined".
I have already deployed RadEditorLite for MOSS in my virtual PC and I can use MOSS RadEditor on my page layout page. I would like to use MOSSRadEditor Lite in my user control for my SharePoint web site.
A quick email from you will be highly appreciate.
Thanks
Adnan Ahmed
Senior Consultant
PM Centrix
0
Hi Adnan,
You can not use the Lite version of RadEditor for MOSS programmatically. There is no public constructor of MOSSRadEdtior. If you want to use RadEditor for MOSS you must use the full version of RadEditor for MOSS.
Sincerely yours,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
You can not use the Lite version of RadEditor for MOSS programmatically. There is no public constructor of MOSSRadEdtior. If you want to use RadEditor for MOSS you must use the full version of RadEditor for MOSS.
Sincerely yours,
Stanimir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.