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

ScriptManagerProxy cannot find RadScriptManager on ASP.NET master pageP

2 Answers 158 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Paul Robertson
Top achievements
Rank 1
Paul Robertson asked on 05 Jan 2012, 04:41 PM

Hi folks

Can anybody point me in the right direction, please? I have an ASP.NET content page that loads a master page, and I need each to be linked to their own separate external javascript files. If I use the RadScriptManager on the content page (as I have already been doing successfully for existing content page code), it doesn't load the external javascript file from the master page. Therefore I decided I needed to include the RadScriptManager in the master page, and link to it from the content page with a standard ScriptManagerProxy control. The problem is: the content page won't load with the ASP.NET code I am trying to use, with the RadScriptManager in the master page, and the ScriptManagerProxy in the content page. I just get:

The control with ID 'ScriptManagerProxy1' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

That error reads to me as though the proxy control can't find the RadScriptManager in the master page, or doesn't recognize it as a replacement for the standard ASP ScriptManager.

Could anyone clarify, is this configuration I am trying to use actually supported? If so, where exactly in the markup of the two pages should the RadScriptManager and ScriptManagerProxy declarations go? Or do they need to be added programatically for this to work? If someone could point me to a working example, that would be great - the RadControls documentation just says, 'Yes it works', but I can't find an example anywhere.

Regards

 

 

2 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 10 Jan 2012, 02:43 PM
Hello Paul,

I tested the setup you described and it worked well (please see the attached pages). Am I missing something in the setup?

Regards,
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
0
Jorge irving
Top achievements
Rank 1
answered on 23 Oct 2012, 09:35 PM
Hello.

I have the same exact problem, i already download the master page and the default page from your example, but still don´t work.

the unique difference between our projects is that i don´t need to add a radscriptmanager on my master page file cause I'm not using telerik on all my webforms, so i use a typical asp script manager,  curiously it appears to work find on my computer but not in the server.

Am I missing something?? (sorry for my bad english)

Tags
ScriptManager and StyleSheetManager
Asked by
Paul Robertson
Top achievements
Rank 1
Answers by
Simon
Telerik team
Jorge irving
Top achievements
Rank 1
Share this question
or