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

How to create custom skin/style file for moss radhtmlfield/radeditor?

1 Answer 20 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Ankit
Top achievements
Rank 1
Ankit asked on 28 Jan 2013, 05:53 AM
Hi,

How can override default editor style with our own colors/images?
We are using moss radeditor latest version. We require outlook kind of stylesheet.css and  we can use in our own skin assembly just like we have used for other telerik controls(radgrid,tabstrip etc).
We have not found such resource  for moss radeditor.

Can you provide us the stylesheet for radeditor or skin file ?


Thanks,
Ankit Trivedi


1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 28 Jan 2013, 11:20 AM
Hello,

RadEditor for MOSS uses the same skins as the standard RadEditor for ASP.NET AJAX. You can customize one of the existing skins available in the RadControls for ASP.NET AJAX installations or create a new one using the Visual Style Builder.

Here is more information how to change the RadEditor for MOSS skin: This is doable only if your SharePoint 2007 site runs on .NET 3.5. This is required because we do not distribute Telerik.Web.UI.Skins.dll for .NET 2.0. The .NET 3.5 version of Telerik.Web.UI.dll and Telerik.Web.UI.Skins.dll assemblies are available in the Bin35 folder of the RadControls for ASP.NET AJAX installations.

You should add both Telerik.Web.UI.Skins.dll and Telerik.Web.UI.dll assemblies from bin35 folder to the GAC. Once you do that open the \inetpub\wwwroot\wss\VirtualDirectories\80\web.config file and add the following entries in it:

<SafeControl Assembly="Telerik.Web.UI, Version=2012.x.xxx.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />
<SafeControl Assembly="Telerik.Web.UI.Skins, Version=2012.x.xxx.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" />

and

<dependentAssembly>
<assemblyIdentity name="RadEditorSharePoint" publicKeyToken="1f131a624888eeed" culture="neutral" />
<bindingRedirect oldVersion="1.0.0.0-5.8.15.0" newVersion="5.8.15.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" culture="neutral" />
<bindingRedirect oldVersion="1.0.0.0-2012.x.xxx.35" newVersion="2012.x.xxx.35" />
</dependentAssembly>

After that open the \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.8.15.0__1f131a624888eeed\Resources\ConfigFile.xml / ListConfigFile.xml files and set <property name="Skin">Hay</property>

The final steps is to delete the browser cache and make iisreset. Load the page with RadEditor for MOSS in the browser and test it.

For your convenience I have attached the web.config file and a video demonstrating my test: http://screencast.com/t/NH62nVU4Hd.

Please, also note that the support for MOSS is discontinued since Q2 2012: RadEditor for MOSS (SharePoint 2007) Discontinued as of Q2 2012.

Best regards,
Rumen
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 and SharePoint 2007 demo sites.
Tags
WebParts for SharePoint
Asked by
Ankit
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or