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

Individual Branch cache control possible?

3 Answers 33 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 11 Aug 2011, 08:48 AM
I have a large menu which is populated on demand via a webservice as its the most efficient way of populating items (the tree is too large to load fully). However, there is a branch which has 'User Favourites', which are added to through a different interface elsewhere on the page. Ideally, I'd like to 'Add to Favourites' with an XMLHttPRequest to avoid posting back or redirecting, and then on the client side, 'un-cache' the user favourites branch, if it had been previously shown, and therefore cached in the browser.

I don't really want to manually add items to the Favourites menu if I can help it. The other option is to be able to set a single branch to 'do not cache', but I don't think this is possible is it?

3 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 16 Aug 2011, 02:21 PM
Hello Andrew,

I am not quite sure that I understand completely the issue that you encounter with the RadMenu control. Is it that you can not cache the RadMenu or something else? For example you can take a look at this help article that explains how you can cache a user control that contains a RadMenu.

Kind regards,
Kate
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Andrew
Top achievements
Rank 1
answered on 16 Aug 2011, 02:48 PM
In short, if I have client side caching ON for a RadMenu populated by a webservice, can I force a single branch to request its children every time its expanded...

Many thanks,


0
Kate
Telerik team
answered on 22 Aug 2011, 11:02 AM
Hi Andrew,

Did you looked at the demo here that I believe would be very helpful for implementing the scenario that you need?

Best wishes,
Kate
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Menu
Asked by
Andrew
Top achievements
Rank 1
Answers by
Kate
Telerik team
Andrew
Top achievements
Rank 1
Share this question
or