Groups Question

2 posts, 0 answers
  1. AFTR
    AFTR avatar
    6 posts
    Member since:
    Oct 2010

    Posted 06 Mar 2012 Link to this post

    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.
  2. Simon
    Simon avatar
    2281 posts

    Posted 09 Mar 2012 Link to this post


    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,
    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.
Back to Top