Has anyone used Umbraco and Telerik controls - when I add the RadRotator and set the Umbraco macro to cache the control then it stops working. The first page load is ok, subsequent page loads show nothing.
Ok, found a fix for this but unfortunately I'm not sure about "why" this fixed the problem.
I set the RegisterWithScriptManager property to false and the problem went away.
I'm slightly confused though, by default it is set to true and the control will complain about not having a script manager inserted on the page. Surely by being set to true it does not need a client script manager block as it is using something on the server side????
0
Lini
Telerik team
answered on 17 Jun 2010, 02:55 PM
Hello,
When you enable cache, the framework will simply output its HTML, without going through the rendering process on the server every time. This means that the control will not be able to register its scripts with the ASP.NET AJAX ScriptManager on the page and it will end up without client scripts and not working in the browser. When you set RegisterWithScriptManager=false, the control will output its own scripts and not depend on the ScriptManager for that, so the cached version will work fine.
Best wishes,
Lini
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
I dont know if your still working on this issue but to get most telerik controls in umbraco you just need to add the form and script manager to your masterpages templates and it will start working straight away.