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

Have RadMenu only load once

2 Answers 63 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 13 Dec 2011, 11:00 AM
At the moment, we have our radmenu on a master page. This menu is being reloaded every time a new page is loaded so it's not very efficient. Is there a way we can get the menu to load once on initialisation of the application and persist until the session is ended?

2 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 14 Dec 2011, 11:10 AM
Anyone?
0
Kate
Telerik team
answered on 14 Dec 2011, 01:51 PM
Hello Michael,

One approach that you could use is the output cache. It enables you to cache the content returned by a controller action so that the content does not need to be generated each and every time the same controller action is invoked. For more information you can refer to the following help articles:
  • http://www.telerik.com/help/aspnet-ajax/menu-output-cache.html
  • http://msdn.microsoft.com/en-us/library/hdxfb6cy.aspx

All the best,
Kate
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
Menu
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Kate
Telerik team
Share this question
or