Click here to Skip to main content
15,886,963 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I have a menu on containing 5 menus on master page. All Menus contain images. I want these menus to add in cache except one menu that is dynamic(Showing count of messages).

For this what i am doing is :
1. Adding the whole menu in an user control and output cache on user control.
2. place user control on my master page.

But I don't know how to load that one menu every time from server. As post cache substitution is not working on user control.

Please guide how this can be achieved.

Regards,
Richa Sharma
Posted
Comments
Maciej Los 7-Sep-15 14:21pm    
Sounds strange... If usercontrol is placed on master page, a menu must be visible on other sites.
Sharma Richa 8-Sep-15 9:27am    
Can't understand what do you mean by other sites. But yes it is visible on all content pages of that master off course.

My question is about caching menu except a single link not about master pages. And I can't understand why you down voted my question(As you didn't get what my question was)

Maciej Los 8-Sep-15 10:17am    
Who told you that i down-voted your question? Do not accuse if you're not completely sure.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900