Hi,
I have a website where via the menu (based on RadTabStrip) a number of pages can be accesses which all have one or more telerik components in them. E.g. Radcomboboxes, grids, etc.
For script combination, the RadScriptManager is included in the masterpage.
The webresource.axd file for all separate pages is pretty big, but different for every page.
What I would like to do is include all the javascript for all the used telerik controls in the masterpage.
This way, the generated webresource.axd file is slightly bigger initially, but will be used from cache on any subsequent page access.
So, I am wondering, is there an easy way to do this?
In the documentation I have found that when UseEmbeddedResource is disabled for the controls, the javascript can be included manually. However, the RadScriptManager can not combine them this way because they are not embedded as resources.
I guess I can include all those javascript files in a dll as embedded resources, however, I am a bit reluctant to do this since this must be done then for every new release.
Has anybody advise on the direction to go with this?
Best Regards,
Mark
I have a website where via the menu (based on RadTabStrip) a number of pages can be accesses which all have one or more telerik components in them. E.g. Radcomboboxes, grids, etc.
For script combination, the RadScriptManager is included in the masterpage.
The webresource.axd file for all separate pages is pretty big, but different for every page.
What I would like to do is include all the javascript for all the used telerik controls in the masterpage.
This way, the generated webresource.axd file is slightly bigger initially, but will be used from cache on any subsequent page access.
So, I am wondering, is there an easy way to do this?
In the documentation I have found that when UseEmbeddedResource is disabled for the controls, the javascript can be included manually. However, the RadScriptManager can not combine them this way because they are not embedded as resources.
I guess I can include all those javascript files in a dll as embedded resources, however, I am a bit reluctant to do this since this must be done then for every new release.
Has anybody advise on the direction to go with this?
Best Regards,
Mark