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

RadScriptManagerProxy ???

6 Answers 266 Views
This is a migrated thread and some comments may be shown as answers.
Ed Staffin
Top achievements
Rank 1
Ed Staffin asked on 18 Nov 2008, 03:07 PM
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

6 Answers, 1 is accepted

Sort by
0
Accepted
Sebastian
Telerik team
answered on 18 Nov 2008, 04:50 PM
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.
0
Ed Staffin
Top achievements
Rank 1
answered on 18 Nov 2008, 05:45 PM
Hi,
Yep, that works.
You might want to add this to the doc on the RadScriptManager.
Thanks ... Ed
0
vinod
Top achievements
Rank 1
answered on 28 Jul 2010, 06:43 PM
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
0
Sebastian
Telerik team
answered on 29 Jul 2010, 09:10 AM
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
0
Rohit Aggarwal
Top achievements
Rank 1
answered on 03 Apr 2012, 12:49 PM
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....
0
Iana Tsolova
Telerik team
answered on 04 Apr 2012, 02:46 PM
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.
Tags
Ajax
Asked by
Ed Staffin
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Ed Staffin
Top achievements
Rank 1
vinod
Top achievements
Rank 1
Rohit Aggarwal
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or