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

RadMenus with ScriptManager

1 Answer 54 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Bernie
Top achievements
Rank 1
Bernie asked on 25 Mar 2019, 06:09 PM

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

 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 27 Mar 2019, 01:45 PM
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.
Tags
Menu
Asked by
Bernie
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or