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

[Solved] Cannot create an object of type 'Telerik.Web.UI.Editor.ToolAdapter'

3 Answers 246 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 2
Richard asked on 12 Jan 2008, 02:27 AM
Attempting to follow the lab on page 472 of the tutorial (except that I left the language as US English)

Also added a link to the ToolsFile.xml which is not specified in the lab.

Receiving the error message: Cannot create an object of type 'Telerik.Web.UI.Editor.ToolAdapter' from its string representation 'Telerik.Web.UI.Editor.DefaultToolAdapter' for the 'ToolAdapter' property

Any thoughts?
Thank you.
The ASPX contents:

<%

@ Page Language="vb" AutoEventWireup="false" CodeBehind="RadEdit.aspx.vb" Inherits="Gird.RadEdit" %>

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<

html xmlns="http://www.w3.org/1999/xhtml" >

<

head runat="server">

<title>Untitled Page</title>

</

head>

<

body>

<form id="form1" runat="server">

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

</telerik:RadScriptManager>

<div>

<telerik:RadEditor ID="RadEditor1" runat="server" DialogHandlerUrl="Telerik.Web.UI.DialogHandler.aspx"

EditModes="All" Height="400px" Language="en-US" Skin="Web20" StripFormattingOnPaste="None"

StripFormattingOptions="None" Text="" ToolAdapter="Telerik.Web.UI.Editor.DefaultToolAdapter"

ToolbarMode="ShowOnFocus" ToolsFile="~/radcontrols/editor/ToolsFile.xml" Width="680px">

<Content>

</

Content>

<SpellCheckSettings SpellCheckProvider="PhoneticProvider" WordIgnoreOptions="None" />

</telerik:RadEditor>

</div>

</form>

</

body>

</

html>

3 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 12 Jan 2008, 09:25 AM
Hi,

This is a known issue with the editor designer in the 2007.3 1218 release. Please remove the following attributes from the editor declaration in the aspx - Text="" ToolAdapter="Telerik.Web.UI.Editor.DefaultToolAdapter"

Sometimes when you add/modify properties from the Visual Studio designer, the editor will add the Text and ToolAdapter attributes. These attributes must be removed before you can run your page. The issue has been fixed for the upcoming service pack release next week.

All the best,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Richard
Top achievements
Rank 2
answered on 12 Jan 2008, 10:28 AM
Thank you.
Are known issues like that posted anywhere?
I was not able to find a reference to the error in my pre-post search in the regular knowlegebase.   I'll need to sharpen my skills there.

Richard
0
Lini
Telerik team
answered on 14 Jan 2008, 07:18 AM
Hello Richard,

I don't think that this issue has been mentioned on the forums yet. Usually, if a significant problem is discovered in one of our products, we will create a sticky forum thread with a description of the problem and possible solutions.

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Richard
Top achievements
Rank 2
Answers by
Lini
Telerik team
Richard
Top achievements
Rank 2
Share this question
or