views:

32

answers:

1

Hi, I have quite a big user control which creates an ASP.NET tab menu and within each tab a lengthy set of icons/menus. The menu is dynamically created from the database. I thought I could wrap the user control with an output cache directive to speed things up. I set OutputCache varybyparam="none" and duration to 120 seconds.

When I navigate to my page, the usercontrol containing the tab menus and icons etc just vanishes? I thought ASP.NET was supposed to deliver some HTML that would previously have been cached.

So why isn't this working? It doesn't seem to do what the label says on the tin?!? ;)

A: 

I think this is caused by mixing AJAX and the outputcache. Both don't play well together. This is covered by the following post: See Post here

Jon