Aug 15, 2013, 5:51 PM
[CLOSED] Caching Dynamic Grids
Hi,
I am generating a lot of dynamic grids to display data based on database-driven configurations. Some of the grids I have contain some 40+ columns and constructing the grids everytime a page is hit takes some toll on the how fast the page loads.
I was thinking of caching the grid - without the data - on the application level and have tried this :
Thanks in advance,
-Allan
I am generating a lot of dynamic grids to display data based on database-driven configurations. Some of the grids I have contain some 40+ columns and constructing the grids everytime a page is hit takes some toll on the how fast the page loads.
I was thinking of caching the grid - without the data - on the application level and have tried this :
Application[gridName] = gridPanel;
However, when i access the same page and tries to retrieve it from the cache, i get this error: Token is not unique
-------------------
ID = init_script
TagName = anchor
Match = <#:anchor id="init_script" />
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Transformer.NET.TokenNotUniqueException: Token is not unique
Is there a way to avoid this error and still make the caching work, the configuration for the grid doesnt change that too often. Thanks in advance,
-Allan