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

ToolProviderID

1 Answer 8 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Lenny_shp
Top achievements
Rank 2
Lenny_shp asked on 19 Aug 2010, 04:39 PM
If I have 5 RadEditor in the page and all of them uses emptyTools.xml below, does using ToolProviderID do any more optimization for me?

<root>
  <modules>
    <module name="RadEditorHtmlInspector" enabled="false"></module>
    <module name="RadEditorNodeInspector" enabled="false"></module>
    <module name="RadEditorDomInspector" enabled="false"></module>
    <module name="RadEditorStatistics" enabled="false"></module>
  </modules>
</root>

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 20 Aug 2010, 03:03 PM
Hi Lenny_shp,

Yes, there is a difference. I made a simple test with the Using ToolProviderID demo. I set the ToolsFile property of all editors to point to a toolsfile containing the provided by you configuration. The produced Editor HTML Size was 95 KB.

After that I set the ToolsFile property in the first editor only and set the ToolProviderID property to the rest of the editors with a value the ID of the first editor. The generated Editor HTML Size was 89 KB.

Best regards,
Rumen
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
Lenny_shp
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or