Nimz
8/26/2006 6:28:00 AM
hello,
i've recently been to problem, i'd like to ask a solution/explanation
for. it's like this,
i've a aspx page created using VS2005 (framework 2).
i wanted to implement Page Output Cache, so created a cache profile in
my web.config file that looks like,
<caching>
<outputCacheSettings>
<outputCacheProfiles>
<add name="Caching" duration="5" varyByParam="none"
location="Server"/>
<add name="NoCaching" location="None" noStore="true"
varyByParam="none"/>
</outputCacheProfiles>
</outputCacheSettings>
</caching>
and on the page i've written this,
<%@ Page Language="vb" %>
<%@ Import Namespace="System.Data" %>
<%@ OutputCache CacheProfile="Caching" %>
<script runat="server">
....... code for various events of controls placed.
</script>
<html>
......page having button control,link button control, etc....
</html>
SO, after i enable caching, when page is loaded, if i immediate click
on link button nothing seems to happen, i must click 3-4 times to carry
out desired action.
so why's it like that? how to overcome the problem ? any tips ?
thanks in advance.
Niraj Sikotara.