First off - fantastic work Umbraco, this CMS framework is really cool once you get used to it. Sooooo much easier than dotnetnuke et al.
Right, the problem: I have built a user control which also incorporates a telerik control. It works fine and I have created the macro and inserted it into a page.
Once I try and use the Marco functionality things start to go haywire. I stripped the control right back, removed all telerik references and create a simple literal control which is supplied with the current date/time from the code behind (on Page_load event)
The control works ok until I try to implement caching in the Macro. Upon first page load I get the date time displayed but on the second page load, nothing is displayed until the cache time limit has expired. I'm at my wits end with this - as far as I can see I have followed the documented examples exactly.
I am using IIS6, framework version 3.5, and have downloaded the Umbraco config file for version 3.5 - has anyone come across any similar problems?
Ok, my bad. Created a blank project and created a new simple .net control and caching is ok.
Looks like this is a specific problem with using the Telerik rotator control - with cache switched on, the Telerik control will not not display after the first page load so I'll do some more investigation.
Ok - problem solved. Hopefully this will help anyone else out there that comes across the same issue.
In the RadRotator control there is an option - RegisterWithScriptManager
By default this is set to true and I think this means that the Telerik control will be dependant on the server script manager. I can only think that this is causing a problem when the control is cached. If anyone can provide a fuller explanation of this then I would be grateful.
By setting this property to "false", as long as there is a AJAX script manager on the page then the problem will go away.
I cant imagine how hard this would have been to debug using any of the other CMS frameworks - once again, hooray for Umbraco.
Cache issue with asp.net usercontrol
Hi,
First off - fantastic work Umbraco, this CMS framework is really cool once you get used to it. Sooooo much easier than dotnetnuke et al.
Right, the problem: I have built a user control which also incorporates a telerik control. It works fine and I have created the macro and inserted it into a page.
Once I try and use the Marco functionality things start to go haywire. I stripped the control right back, removed all telerik references and create a simple literal control which is supplied with the current date/time from the code behind (on Page_load event)
The control works ok until I try to implement caching in the Macro. Upon first page load I get the date time displayed but on the second page load, nothing is displayed until the cache time limit has expired. I'm at my wits end with this - as far as I can see I have followed the documented examples exactly.
I am using IIS6, framework version 3.5, and have downloaded the Umbraco config file for version 3.5 - has anyone come across any similar problems?
Thanks in advance
Ok, my bad. Created a blank project and created a new simple .net control and caching is ok.
Looks like this is a specific problem with using the Telerik rotator control - with cache switched on, the Telerik control will not not display after the first page load so I'll do some more investigation.
Ok - problem solved. Hopefully this will help anyone else out there that comes across the same issue.
In the RadRotator control there is an option - RegisterWithScriptManager
By default this is set to true and I think this means that the Telerik control will be dependant on the server script manager. I can only think that this is causing a problem when the control is cached. If anyone can provide a fuller explanation of this then I would be grateful.
By setting this property to "false", as long as there is a AJAX script manager on the page then the problem will go away.
I cant imagine how hard this would have been to debug using any of the other CMS frameworks - once again, hooray for Umbraco.
is working on a reply...