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

Unable to User Rad Editor

2 Answers 81 Views
Editor
This is a migrated thread and some comments may be shown as answers.
chandra kanth
Top achievements
Rank 1
chandra kanth asked on 15 Jul 2008, 05:36 AM
Hi,

I have installed the rad controls using the setup file
RadControls_for_ASP.NET_AJAX_2008_1_415_dev.

After installing the rad controls, i got all the rad controls into my toolbox.

I placed the rad editor onto my aspx page by drag and drop from toolbox.

After that in the codebehind file in page_load event, I have set the toolsfile path as below:

RadEditor1.ToolsFile =
"~/RadControls/Editor/BasicTools.xml";

BasicTools.xml file is available in that path.

When I run the page in browser, i am getting the editor with all the controls but none of the controls were working.

I think the scripts for the editor were not working.

How to inform the editor to use the script...

So please help me to overcome this problem

Regards,
chandu




2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 15 Jul 2008, 08:43 AM
Hi Chandra,

Does the editor and the controls work as expected if you do not set the ToolsFile property? Do you get any javascript errors when loading the page.

Could you please, upgrade to the latest "Futures" build of RadControls for ASP.NET AJAX and see whether the problem still persists. If you still experience this issue after the upgrade, please open a support ticket and send a sample running project that demonstrates the problem.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
chandra kanth
Top achievements
Rank 1
answered on 15 Jul 2008, 12:15 PM
Hi Rumen,

Thank you very much for your quick response.

Initially I have built the project using the ASP.NET Web Site template in the VS2005. As I have got problems, I have installed the RadControls_for_ASP.NET_AJAX_2008_1_415_dev setup in another system and tried to use the editor. There I have got Javascript Error as

"Sys is undefined".

When I Searched in the Telerik Help, I came across the solution that
the Web.Config file which comes with AJAX enable ASP.Net Web Site should be used (VS.NET adds a lot of additional stuff to the web.config file).

When I replaced my ASP.NET Web Site Template Web.Config file with the AJAX enabled ASP.Net Web Site Template Web.Config file, all the problems were solved.

Best Regards,
Chandu
Tags
Editor
Asked by
chandra kanth
Top achievements
Rank 1
Answers by
Rumen
Telerik team
chandra kanth
Top achievements
Rank 1
Share this question
or