RadScriptManagerProxy ???

7 posts, 1 answers
  1. Ed Staffin
    Ed Staffin avatar
    66 posts
    Member since:
    Nov 2008

    Posted 18 Nov 2008 Link to this post

    Before using Telerik, I used script managers and script manager proxies.
    Now, if I use a master page, I put a RadScriptManager on the master page, but I don't see the corresponding RadScriptManagerProxy control. How do I accomplish the code below on a content page using the Rad Controls?

        <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">  
            <Scripts> 
                <asp:ScriptReference Path="~/Scripts/Common.js" /> 
                <asp:ScriptReference Path="~/Scripts/Uploads.js" /> 
            </Scripts> 
        </asp:ScriptManagerProxy>      
    Thanks ... Ed
  2. Answer
    Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 18 Nov 2008 Link to this post

    Hello Ed,

    Since the RadScriptManager control is built on top of the regular MS ScriptManager control, it should operate with ScriptManagerProxies in the same way as the original ScriptManager. Therefore, you should be able to use ScriptManagerProxy alongside with RadScriptManager.

    Best regards,
    Stephen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Ed Staffin
    Ed Staffin avatar
    66 posts
    Member since:
    Nov 2008

    Posted 18 Nov 2008 Link to this post

    Hi,
    Yep, that works.
    You might want to add this to the doc on the RadScriptManager.
    Thanks ... Ed
  4. vinod
    vinod avatar
    4 posts
    Member since:
    Jul 2010

    Posted 28 Jul 2010 Link to this post

    In my application, i have asp:scriptmanager in the masterpage. I am using RadScriptManager for radRotator inside the cotent page. Its giving error saying only one scriptmanager should be there in a page. So is there RadScriptManagerProxy like scriptmanagerproxy
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 29 Jul 2010 Link to this post

    Hello vinod,

    You can use the regular ScriptManagerProxy on the content pages in combination with RadScriptManager on the master page. They should work in the same manner as with asp ScriptManager.

    Regards,
    Sebastian
    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
  6. Rohit Aggarwal
    Rohit Aggarwal avatar
    2 posts
    Member since:
    Jul 2010

    Posted 03 Apr 2012 Link to this post

    We are using ASP:ScriptManager in master page. We cannot change this to RadScriptManager. In one of content pages we used telerik controls. We want to combine ScriptResource/axd files to increase performance of content page. Please let us know how to achieve the goal. Currently we are not able to use Radscriptmanager in content page.

    Thanks....
  7. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 04 Apr 2012 Link to this post

    Hi Rohit,

    As you know RadScriptManager provided script combining out of the box. But if you cannot use it, them you can try combining the scripts manually. There are a lot of articles elaborating on how to achieve it, and I am posting here a few for your reference:
    http://msdn.microsoft.com/en-us/library/cc488552.aspx
    http://msdn.microsoft.com/en-us/library/cc837190%28v=vs.90%29.aspx
    http://www.hanselman.com/blog/ASPNETAjaxScriptCombiningAndMovingScriptResourceaxdsToStaticScripts.aspx
    http://p2p.wrox.com/book-professional-asp-net-3-5-ajax-isbn-9780470392171/72493-article-asp-net-3-5-ajax-script-combining.html


    All the best,
    Iana Tsolova
    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