tag:blogger.com,1999:blog-6005490725222948439.post8694979312471947038..comments2019-08-14T20:25:55.373+02:00Comments on The Tommy Code: OutputCache on dynamically loaded UserControlsTommyhttp://www.blogger.com/profile/02987079709890896170noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6005490725222948439.post-42311666866583876682013-02-22T19:27:31.014+01:002013-02-22T19:27:31.014+01:00
Please have you a sample of call of this class, a...<br />Please have you a sample of call of this class, and if possible an vb.net version<br />I have try to translate but i have a doubt for this declaration<br /><br />Private Shared DelegateStore As New Dictionary(Of Int32, LoadControlDelegate)OscarXhttps://www.blogger.com/profile/17901532113036037151noreply@blogger.comtag:blogger.com,1999:blog-6005490725222948439.post-43142896423681150592012-06-10T20:10:40.051+02:002012-06-10T20:10:40.051+02:00Well, I solved it in a .Net 3.5 project, so might ...Well, I solved it in a .Net 3.5 project, so might be something that makes it not work in 4.0... I have to try that sometime!Tommyhttps://www.blogger.com/profile/02987079709890896170noreply@blogger.comtag:blogger.com,1999:blog-6005490725222948439.post-20511493034978820062012-06-06T19:37:44.756+02:002012-06-06T19:37:44.756+02:00Hello Tommy!
I am again. Yes i've made short w...Hello Tommy!<br />I am again. Yes i've made short web app. to try your code. In my application i loaded "examp.ascx" in cycle two times with different keys.If I set TagetFramework to 3.5 everything look so good, by if i changed to 4.0, the program fails.<br />Exactly in "LoadControlX" method.<br />I've got NullreferenceException.<br />Best regards<br />PeterPeterhttps://www.blogger.com/profile/16734018084834408394noreply@blogger.comtag:blogger.com,1999:blog-6005490725222948439.post-72375720274504324832012-05-26T08:13:19.425+02:002012-05-26T08:13:19.425+02:00Hello Peter! Sorry about my late response, my noti...Hello Peter! Sorry about my late response, my notification seems to have got lost somewhere...<br /><br />Did you make sure to call LoadControlWithCachingAllowed with a unique key for each control, but the same key for that control on each request?Tommyhttps://www.blogger.com/profile/02987079709890896170noreply@blogger.comtag:blogger.com,1999:blog-6005490725222948439.post-85638191753440936322012-05-04T12:33:45.471+02:002012-05-04T12:33:45.471+02:00Hi Tommy,
We tried out your OutputCache solution, ...Hi Tommy,<br />We tried out your OutputCache solution, but we didn't success on Framework 4.0.<br />Have you ever tried on this framewok? <br />Have you any idea for solution?<br />Best regards<br />PeterPeterhttps://www.blogger.com/profile/16734018084834408394noreply@blogger.com