long time no post, but now I'm in need of the help of this great community
I have some trouble with the Cache object of ASP.Net
I have a table with several 5 rows and 5 cells in each row, each containing a link to google. (demo purposes only)
I build this table dynamically and want to cache it (for several users), instead of rebuilding it during every request.
Here is how I build the table:
i = 0; i < 5;
tblrow = new
j = 0; j < 5;
cell = new
href = new
tbl.Border = 1;
So I add the table to the cache first and afterward to the page using the following code:
During the onLoad, I check if the object is available in the cache. If it is, I retrieve it and add it to the page, using the following code:
However, when loading the table from the cache, all HTMLAnchors inside the table are missing the href-tag.
Any ideas, why this happens? And maybe even on how to avoid it?