RadMenus with ScriptManager

2 posts, 0 answers
  1. Bernie
    Bernie avatar
    2 posts
    Member since:
    Mar 2019

    Posted 25 Mar Link to this post

    I have an existing website using a master page that I'm trying to convert to RadMenus. The menu structure exists in the master page and uses asp:Menu, which does not require a script manager. RadMenus wants a RadScriptManager. If I put a script manager in the master page, then I get an error when I open any other page that has a script manager, which is just about every page in the site. 

    How do you deal with this? Do I have to modify every page in the website?

    Thanks,

    Bernie

     

  2. Rumen
    Admin
    Rumen avatar
    14011 posts

    Posted 27 Mar Link to this post

    Hello Bernie,

    RadMenu can work with asp:ScriptManager and it is not needed to have telerik:RadScriptManager.

    I understand that it will be hard to manually update 154 pages, but the proper configuration would require to have a shared ScriptManager in the master page and if/when needed to put asp:ScriptManagerProxy in the aspx pages.
     
    Yes, RadScriptManager is backwards compatible with the ScriptManager. RadScriptManager is a control that replaces the ScriptManager available in the Microsoft Ajax Extensions suite. When put on the page, RadScriptManager combines all the requests (to the "javascript assembly resource files" on the page) into a single one, thus reducing the page's load time and traffic consume. The way RadScriptManager operates is outputting a <script> tag with a specific URL, making a request to an HttpHandler, which serves the combined scripts.

    Regards,
    Rumen
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top