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

How to reference only scripts that run with RadTreeView for example

1 Answer 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 1
Ivan asked on 05 May 2010, 01:03 PM
Hello

I want referent only scripts that run with specific control like RadTreeView not the whole Telerik.js that is almost 1MB. In my case I want to use RadTreeView and RadAjaxManagerProxy to refresh some controls on the page. What .js files to reference in my page?

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 10 May 2010, 11:53 AM
Hello Ivan,

All RadControls will automatically include only the needed JavaScript files, so there is no point in manually referencing them. We suggest that you use RadScriptManager instead of ScriptManager in order to improve performance. RadScriptManager will combine all requests for the JS files used by the RadControls into a single one. The merged file will most probably be rather big, however have in mind that it will contain all the js needed by the controls to run properly, therefore no additional requests should be made.

All the best,
Genady Sergeev
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
General Discussions
Asked by
Ivan
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or