ScriptManagerProxy cannot find RadScriptManager on ASP.NET master pageP

3 posts, 0 answers
  1. Paul Robertson
    Paul Robertson avatar
    78 posts
    Member since:
    May 2010

    Posted 05 Jan 2012 Link to this post

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

    Posted 10 Jan 2012 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jorge irving
    Jorge irving avatar
    5 posts
    Member since:
    Oct 2012

    Posted 23 Oct 2012 Link to this post

    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)

Back to Top