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

RadEditor Problems in .NET 2.0

4 Answers 131 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Warren
Top achievements
Rank 1
Warren asked on 25 Jun 2009, 08:31 PM
I'm encountering problems using the RadEditor in .NET 2.0 websites.  I'm running into the problem in the following 2 areas:
1)  Using the RadEditor inside a user control (created in .NET 2.0) that is being used by sitefinity community edition 3.5.
2)  Using RadEditor inside an aspx page inside a .NET 2.0 test website that was created from scratch solely to test the RadEditor

In the first scenario, the rad editor renders, loads the toolbar, etc.  Everything looks good except that you cannot type inside the content area, switch between the Design, HTML, and Preview (the buttons don't do anything), or use any of the toolbar buttons.  Clicking on the toolbar buttons just sends me to the top of the page and does nothing.  Additionally, text that is hand typed into the Content property does not show up when viewed through the Sitefinity site.  By looking at the source code, it appears that the <Content> tag is not being output at all.  As one last piece of info, there is a little blue dot in the top left of every button loaded on the toolbar.

In the second scenario, I cannot get anything more than an outline of the RadEditor to be displayed.  Typing does not work and there are no buttons at all that are visible.  I have already installed AJAX 1.0, and am sure that I am using the .20 version of the RadEditor from the \Bin directory (not \Bin35).  I have tried this using both the AJAX 1.0 Script Manager and the RadScriptManager.  I'm sure that this is just a setup problem, in either the properties, the web.config file, or something similar, but am not sure what at this point. 

FWIW, the RadEditor works properly in the sample applications and any 3.5 test sites that I build.

Unfortunately, I am a Telerik, and even AJAX noob, and am under a tight deadline so I could really use some help.

4 Answers, 1 is accepted

Sort by
0
Warren
Top achievements
Rank 1
answered on 25 Jun 2009, 08:54 PM
Actually, I got the test site working.  The problem was that when I edited the web.config file to add attributes for AJAX 1.0 I accidentally duplicated some items.  Oops!

Hopefully I'll be able to get the SiteFinity one working now as well.  Still, any suggestions would be appreciated.
0
Georgi
Telerik team
answered on 01 Jul 2009, 08:38 AM
Hello Warren,

I am not exactly sure how you use the RadEditor in your user control. If you use it as a property editor, you might like to check the KB Article Implementing Rich Text Property Editor. If you want have it just as any other control on the page, you can download the Externaltemplates.zip file, and take a look at the control template Sitefinity\Admin\ControlTemplates\Generic_Content\ContentNewView.ascx - it implements a RadEditor, and we are using it successfully.

Kind regards,
Georgi
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
Jill Carley
Top achievements
Rank 1
answered on 30 Mar 2010, 05:53 PM
I am getting the same problem with the Editor 2.0 it works fine in Edit 3.5 with .net 3.5 but not with .net 2.0. Should I have to do anything other than just add the control and add the xml file for its menu? Please let me know how you got it to work since it just loads but cannot enter text to it.
0
Georgi
Telerik team
answered on 01 Apr 2010, 04:07 PM
Hi Jill Carley,

Can you please upload your control in a zip archive somewhere, so we can download it and review it? We will get back to you as soon as possible. 

Please include the RadEditor version (Telerik.Web.UI assembly version), Sitefinity version and the .NET framework version, so we could test in the same environment locally.

Thank you for your cooperation in advance!

Sincerely yours,
Georgi
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.
Tags
Editor
Asked by
Warren
Top achievements
Rank 1
Answers by
Warren
Top achievements
Rank 1
Georgi
Telerik team
Jill Carley
Top achievements
Rank 1
Share this question
or