Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Partial Page Caching

I have created a usercontrol of a menu control in asp.net 2.0
I am using Partial page caching in that control and using this control in a Master Page.
I am getting null reference error if caching is used randomly. Even in refresh of pages. Sometimes I get errors sometimes I dont. Weird?
If i remove the caching from the usercontrol, everything is working fine.

I want to use the caching, does anyone have the answer?

Thanks
[454 byte] By [i.netdeveloper] at [2007-11-11 10:30:47]