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

No constructors defined

1 Answer 134 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Bo Christensen
Top achievements
Rank 1
Bo Christensen asked on 12 Apr 2007, 08:21 AM
Hi

I'm trying to load the editor but getting the following error:

c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\NoticeBoard\CreateInfoChannelNews.aspx(66): error CS0143: The type 'Telerik.WebControls.RadEditor' has no constructors defined   at System.Web.Compilation.AssemblyBuilder.Compile()

My code is simple .. I have a aspx page on the moss 2007 server.. where I load the editor with:

<%@ Register TagPrefix="radE" Namespace="Telerik.WebControls" Assembly="RadEditor.Net2, Version=7.0.2.0, Culture=neutral, PublicKeyToken=852c9eb6525c1b53" %>

<radE:RadEditor runat="server" ID="Content" />


Do anyone have a solution on this problem?

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 12 Apr 2007, 02:21 PM
Hi Bo,

The free MOSS version of RadEditor can only be used in the three scenarios, which are described in the installation docs.

If you want to add the editor as a field in a MOSS page, you can use the Telerik.SharePoint.FieldEditor.RadHtmlField object (WCM scenario).

if you want to use the regular ASP.NET version of the editor, you will have to download either a trial or developer build from our site and replace the RadEditor.Net2.dll and RadSpell.Net2.dll assemblies with the regular ones from the downloaded version. You will also need to update the scripts folder with the regular version. Extract the NET2\Editor\Scripts\7_0_2\ folder in 
c:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.0.0.0__1f131a624888eeed\RadControls\Editor\Scripts\7_0_2\ on your MOSS machine. Choose to replace files when prompted.

In addition, we are going to release a new version of the MOSS editor, which will not be free, but you will be able to use it in regular ASP.NET forms as well as MOSS. The new version should be released tomorrow (assuming that testing does not uncover any serious bugs).

Best wishes,
Lini
the telerik team

Instantly find answers to your questions at the new telerik Support Center
Tags
WebParts for SharePoint
Asked by
Bo Christensen
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or