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

Don't need AssetPickers.js & HtmlEditor.js on public site

3 Answers 82 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Cody
Top achievements
Rank 1
Cody asked on 30 Mar 2009, 06:38 PM
We have found that on pages containing the RadEditor web part, the page references/loads AssetPickers.js and HtmlEditor.js. On our public site, we do not need these files referenced or loaded because the content will only be viewed and will never be edited, therefore we do not need the editor functionality. (We use content deployment to push content to our live site.)

In order to reduce weight and page load time, is there a way to prevent HtmlEditor.js and AssetPickers.js from being referenced or loaded on our public facing site?

Thanks!

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Apr 2009, 10:41 AM
Hello Cody,

Unfortunately, it is not possible to exclude the AssetPickers.js and HtmlEditor.js files from the public pages. These js files are loaded automatically by MOSS and we are not aware of a way how to disable this MOSS operation.

All the best,
Rumen
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Declan
Top achievements
Rank 1
answered on 29 Jun 2011, 12:01 PM
Can you please confirm that it is still impossible to stop htmeditor.js from rendering on pages that are to be used by anonymous users as this creates a big problem for us with page weight?
0
Stanimir
Telerik team
answered on 30 Jun 2011, 07:54 AM
Hi Declan,

Currently the loading of these files is built in the server code of RadEditor for MOSS. If you want to disable the loading of these files you have a couple of options.
1. Create a custom version of RadEditor for MOSS. In order to do this you need to request the source code in an official support ticket. In it I will explain where the code for the loading of the js files is located.
2. Check if renaming these files will solve your problem. Most likely they are located in the Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033 folder of your MOSS server. However you should know that this will brake the OOB functionality of your MOSS site.

Regards,
Stanimir
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
WebParts for SharePoint
Asked by
Cody
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Declan
Top achievements
Rank 1
Stanimir
Telerik team
Share this question
or