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

Groups Question

1 Answer 50 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
AFTR
Top achievements
Rank 1
AFTR asked on 06 Mar 2012, 05:35 PM
I have a question about the groups. I see from the examples in the help about how the groups can be used with the core scripts that most controls use. What about other telerik controls?

I have one particular type of page that has a telerik grid, buttons, textboxes, combo boxes and a window on it. I use this same display page in numerous spots in my web application (but not on every page). Could I combine the scripts for these controls into a group so the script manager will cache these scripts in this combination and then know to get the cache for this page?
 
If so then how would I do that? So in other words when it encounters this page it gets the cached scripts for the control combination but if it encounters another page that say only has a radgrid and buttons on it then it would use the normal script combine method.

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 09 Mar 2012, 01:45 PM
Hi,

Yes, you can group the scripts for the combination of controls you mentioned that is used on many of your pages. You can do it by defining a group with all the scripts required by the respective controls - here is a list of these scripts. As you can see there some of the scripts are common for all controls, so it is a good idea to group them separately, so that other pages, that are using other RadControls, different from those in the aforementioned combination still benefit from caching their base scripts.

I hope this helps. 

All the best,
Simon
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ScriptManager and StyleSheetManager
Asked by
AFTR
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or